Skip to content
Commit 0a2ce2ff authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b4412323
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment