PCI: alpha: use generic INTx swizzle from PCI core
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 17 Dec 2008 04:37:00 +0000 (21:37 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:13 +0000 (11:13 -0800)
commit3e08601f7f9b497abcb383491058bfb9e1dc6ec9
tree3023eadea316e1c159ce049c2bcfbe7ffaa75f3c
parent68feac87de15edfc2c700d2d81b814288c93d003
PCI: alpha: use generic INTx swizzle from PCI core

Use the generic pci_common_swizzle() instead of arch-specific code.

Note that pci_common_swizzle() loops based on dev->bus->self, not
dev->bus->parent as the alpha common_swizzle() did.  I think they
are equivalent for this purpose.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/alpha/kernel/pci.c
arch/alpha/kernel/pci_impl.h