FRV: Specify the minimum slab/kmalloc alignment
commitdc1d60a014aa9614518f9856ff661716d0969ffd
authorDavid Howells <dhowells@redhat.com>
Wed, 28 May 2008 14:36:34 +0000 (28 15:36 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 May 2008 14:59:06 +0000 (28 07:59 -0700)
treedde863905e7f99c0c849caa5641583f5eba9c9d8
parent5e55843bb8ed1ec7d134a759c53e34beb1618952
FRV: Specify the minimum slab/kmalloc alignment

Specify the minimum slab/kmalloc alignment to be 8 bytes.  This fixes a
crash when SLOB is selected as the memory allocator.  The FRV arch needs
this so that it can use the load- and store-double instructions without
faulting.  By default SLOB sets the minimum to be 4 bytes.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-frv/mem-layout.h