From: Matt Fleming Date: Tue, 16 Dec 2008 00:15:31 +0000 (+0900) Subject: sh: maple: Do not pass SLAB_POISON to kmem_cache_create() X-Git-Tag: v2.6.28-rc9~14^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=93d546399c2b7d66a54d5fbd5eee17de19246bf6;p=linux-2.6-omap-h63xx.git sh: maple: Do not pass SLAB_POISON to kmem_cache_create() SLAB_POISON is not a valid flag for kmem_create_cache() unless CONFIG_DEBUG_SLAB is set, so remove it from the flags argument. Acked-by: Adrian McMenamin Signed-off-by: Matt Fleming Signed-off-by: Paul Mundt --- diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c index d1812d32f47..63f0de29aa1 100644 --- a/drivers/sh/maple/maple.c +++ b/drivers/sh/maple/maple.c @@ -827,7 +827,7 @@ static int __init maple_bus_init(void) maple_queue_cache = kmem_cache_create("maple_queue_cache", 0x400, 0, - SLAB_POISON|SLAB_HWCACHE_ALIGN, NULL); + SLAB_HWCACHE_ALIGN, NULL); if (!maple_queue_cache) goto cleanup_bothirqs;