]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: of_parse_dma_window should take a __be32 *dma_window
authorAnton Blanchard <anton@samba.org>
Tue, 6 Aug 2013 16:01:36 +0000 (02:01 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 05:33:26 +0000 (15:33 +1000)
commit373e2d77c400b40f49a9e47345b565d53010b114
tree738978fefec58c5bf2c4d4e7fec5fbcd3e60fdd4
parentc780dc00fcf3bd5e42c450acf8e6faa941f20094
powerpc: of_parse_dma_window should take a __be32 *dma_window

We pass dma_window to of_parse_dma_window as a void * and then
run through hoops to cast it back to a u32 array. In the process
we lose endian annotation.

Simplify it by just passing a __be32 * down.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/prom_parse.c
arch/powerpc/kernel/vio.c
arch/powerpc/platforms/cell/iommu.c
arch/powerpc/platforms/pseries/iommu.c