]> git.baikalelectronics.ru Git - kernel.git/commit
Fix FRV minimum slab/kmalloc alignment
authorDavid Howells <dhowells@redhat.com>
Wed, 28 May 2008 15:49:01 +0000 (16:49 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 May 2008 16:05:28 +0000 (09:05 -0700)
commit895710bc5f8b41017b1fdf1080120e797144880f
tree7e62ed167dd0d222331c0098867c6fafb432b893
parent39782c62cdde7472c33613b22853c6feef3628d2
Fix FRV minimum slab/kmalloc alignment

> +#define ARCH_KMALLOC_MINALIGN (sizeof(long) * 2)
> +#define ARCH_SLAB_MINALIGN (sizeof(long) * 2)

This doesn't work if SLAB is selected and slab debugging is enabled as
these are passed to the preprocessor, and the preprocessor doesn't
understand sizeof.

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