From: David Howells Date: Wed, 28 May 2008 15:49:01 +0000 (+0100) Subject: Fix FRV minimum slab/kmalloc alignment X-Git-Tag: v2.6.26-rc5~42 X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=0a2ce2ffc358da96792d514c1024b72c52be9cc1;hp=0a2ce2ffc358da96792d514c1024b72c52be9cc1;p=linux-2.6-omap-h63xx.git 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 ---