summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/vio.h
diff options
context:
space:
mode:
authorAnton Blanchard2012-06-24 20:25:28 +0200
committerBenjamin Herrenschmidt2012-07-10 11:18:57 +0200
commita980349725346ce7e3c1774e327c2f1fdca4593d (patch)
treec7f16704a2b4d91107d48e26e47e77af532292aa /arch/powerpc/include/asm/vio.h
parentpowerpc/vio: Separate vio bus probe and device probe (diff)
downloadkernel-qcow2-linux-a980349725346ce7e3c1774e327c2f1fdca4593d.tar.gz
kernel-qcow2-linux-a980349725346ce7e3c1774e327c2f1fdca4593d.tar.xz
kernel-qcow2-linux-a980349725346ce7e3c1774e327c2f1fdca4593d.zip
powerpc: Call dma_debug_add_bus for PCI and VIO buses
The DMA API debug code has hooks to verify all DMA entries have been freed at time of hot unplug. We need to call dma_debug_add_bus for this to work. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/vio.h')
-rw-r--r--arch/powerpc/include/asm/vio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/vio.h b/arch/powerpc/include/asm/vio.h
index b19adf751dd9..df81cb72d1e0 100644
--- a/arch/powerpc/include/asm/vio.h
+++ b/arch/powerpc/include/asm/vio.h
@@ -44,6 +44,8 @@
*/
#define VIO_CMO_MIN_ENT 1562624
+extern struct bus_type vio_bus_type;
+
struct iommu_table;
/*