commit | 52142e756e9bf6485d3d53596e8aff2e816a7253 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Nov 19 19:25:06 2007 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Tue Nov 20 11:37:43 2007 +1100 |
tree | 63ce9329dad3cefae84fec67535500f1f23d52e3 | |
parent | f9b6c1de697f07dd0fb1c79bb3a6a8aa302f7476 [diff] |
[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>