diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-13 13:51:46 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-14 19:13:29 -0400 |
commit | 7b6b574ca7d5d5ba6ae7155c1fb877cc7130eff7 (patch) | |
tree | 6eeb13d0af87fa3e5deed56c864235d538e785d9 /arch/powerpc/kernel | |
parent | b556151110ff003ce77d84597400c84824690ccf (diff) |
powerpc: Fix link errors on 32-bit machines using legacy DMA
The new merged DMA code will try to access isa_bridge_pcidev when
trying to DMA to/from legacy devices. This is however only defined
on 64-bit. Fixes this for now by adding the variable, even if it
stays NULL. In the long run, we'll make isa-bridge.c common to
32 and 64-bit.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/pci_32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index a848c6360bd1..131b1dfa68c6 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c | |||
@@ -53,6 +53,12 @@ LIST_HEAD(hose_list); | |||
53 | 53 | ||
54 | static int pci_bus_count; | 54 | static int pci_bus_count; |
55 | 55 | ||
56 | /* This will remain NULL for now, until isa-bridge.c is made common | ||
57 | * to both 32-bit and 64-bit. | ||
58 | */ | ||
59 | struct pci_dev *isa_bridge_pcidev; | ||
60 | EXPORT_SYMBOL_GPL(isa_bridge_pcidev); | ||
61 | |||
56 | static void | 62 | static void |
57 | fixup_hide_host_resource_fsl(struct pci_dev *dev) | 63 | fixup_hide_host_resource_fsl(struct pci_dev *dev) |
58 | { | 64 | { |