]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Swiotlb breaks pseries
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 22 Jun 2009 23:13:48 +0000 (23:13 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Jun 2009 04:37:22 +0000 (14:37 +1000)
commit2b40cce5bcd887a8a2fc0c9428c8efbff324d6e4
tree37c076363e30101b9c84babce595cfe7956104a7
parent093c7c30d246d54a68b0ec96310eef78e3602604
powerpc: Swiotlb breaks pseries

Turning on SWIOTLB selects or enables PPC_NEED_DMA_SYNC_OPS, which means
we get the non empty versions of dma_sync_* in asm/dma-mapping.h

On my pseries machine the dma_ops have no such routines and we die with
a null pointer - this patch gets it booting, is there a more elegant way
to do it?

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/dma-mapping.h