powerpc: Call dma_debug_add_bus for PCI and VIO buses
authorAnton Blanchard <anton@samba.org>
Sun, 24 Jun 2012 18:25:28 +0000 (18:25 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jul 2012 09:18:57 +0000 (19:18 +1000)
commita980349725346ce7e3c1774e327c2f1fdca4593d
treec7f16704a2b4d91107d48e26e47e77af532292aa
parent44b372d8a099a7042f9f17ebd4941050e38c1773
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>
arch/powerpc/include/asm/vio.h
arch/powerpc/kernel/dma.c
arch/powerpc/kernel/vio.c