]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Fix link errors on 32-bit machines using legacy DMA
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 17:51:46 +0000 (17:51 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 Oct 2008 23:13:29 +0000 (10:13 +1100)
commit7b6b574ca7d5d5ba6ae7155c1fb877cc7130eff7
tree6eeb13d0af87fa3e5deed56c864235d538e785d9
parentb556151110ff003ce77d84597400c84824690ccf
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>
arch/powerpc/kernel/pci_32.c