]> git.baikalelectronics.ru Git - kernel.git/commit
FRV: Specify the minimum slab/kmalloc alignment
authorDavid Howells <dhowells@redhat.com>
Wed, 28 May 2008 14:36:34 +0000 (15:36 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 May 2008 14:59:06 +0000 (07:59 -0700)
commitcca66ae7e43e7cf271fd1eb2b32effbc0b77323b
treedde863905e7f99c0c849caa5641583f5eba9c9d8
parentf6689caed29e499f868b45a2ce50920cedb14172
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