]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: Make isolated loader properly aligned
authorSebastian Siewior <cbe-oss-dev@ml.breakpoint.cc>
Wed, 19 Sep 2007 04:38:12 +0000 (14:38 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Sep 2007 05:12:16 +0000 (15:12 +1000)
commitbb80f5818e029057d74456ee929c855149f2ef78
tree492f01c3f6239616081c56c4ea7dd8a0944b7f92
parent81f64ee1c067e9e0a0b78793ecf0ed63bcec4712
[POWERPC] spufs: Make isolated loader properly aligned

According to the comment in spufs_init_isolated_loader(), the isolated
loader should be aligned on a 16 byte boundary.
ARCH_{KMALLOC,SLAB}_MINALIGN is not defined so only 8 byte alignment is
guaranteed.

This enforces alignment via __get_free_pages.

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/inode.c