OpenCloudOS-Kernel/arch/powerpc/include/asm/iseries
Stephen Rothwell x 397717c578 powerpc/iseries: Fix pci breakage due to bad dma_data initialization
Commit 4fc665b88a "powerpc: Merge 32 and
64-bit dma code" made changes to the PCI initialisation code that added
an assignment to archdata.dma_data but only for 32 bit code.  Commit
7eef440a54 "powerpc/pci: Cosmetic cleanups
of pci-common.c" removed the conditional compilation.  Unfortunately,
the iSeries code setup the archdata.dma_data before that assignment was
done - effectively overwriting the dma_data with NULL.

Fix this up by moving the iSeries setup of dma_data into a
pci_dma_dev_setup callback.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-05-15 16:43:41 +10:00
..
alpaca.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
hv_call.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
hv_call_event.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
hv_call_sc.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
hv_call_xm.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
hv_lp_config.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
hv_lp_event.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
hv_types.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
iommu.h powerpc/iseries: Fix pci breakage due to bad dma_data initialization 2009-05-15 16:43:41 +10:00
it_lp_queue.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
lpar_map.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
mf.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
vio.h powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00