aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/44x/bamboo.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-11-19 19:25:06 +1100
committerPaul Mackerras <paulus@samba.org>2007-11-20 11:37:43 +1100
commit52142e756e9bf6485d3d53596e8aff2e816a7253 (patch)
tree63ce9329dad3cefae84fec67535500f1f23d52e3 /arch/powerpc/platforms/44x/bamboo.c
parent[POWERPC] Fix build failure on legacy iSeries (diff)
downloadlinux-dev-52142e756e9bf6485d3d53596e8aff2e816a7253.tar.xz
linux-dev-52142e756e9bf6485d3d53596e8aff2e816a7253.zip
[POWERPC] Fix kmalloc alignment on non-coherent DMA platforms
On platforms doing non-coherent DMA (4xx, 8xx, ...), it's important that the kmalloc minimum alignment is set to the cache line size, to avoid sharing cache lines between different objects, so that DMA to one of the objects doesn't corrupt the other. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/44x/bamboo.c')
0 files changed, 0 insertions, 0 deletions