]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ps3: Use dma_addr_t down through the stack
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Jan 2009 19:58:10 +0000 (19:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 16 Jan 2009 05:15:11 +0000 (16:15 +1100)
commit422508e8ff53874c6bec55a126cdbeb6ede15c1d
treed597647b6037ab2c2a31a80c97bd8cc5877c9019
parent905f034670aab07505047d6c4ca8bd58f75ec6aa
powerpc/ps3: Use dma_addr_t down through the stack

Push the dma_addr_t type usage all the way down to where the actual
values are manipulated.

Now that u64 is "unsigned long long", this removes warnings like:

arch/powerpc/platforms/ps3/system-bus.c:532: warning: passing argument 4 of 'ps3_dma_map' from incompatible pointer type
arch/powerpc/platforms/ps3/system-bus.c:649: warning: passing argument 4 of 'ps3_dma_map' from incompatible pointer type

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ps3.h
arch/powerpc/platforms/ps3/mm.c
arch/powerpc/platforms/ps3/system-bus.c