]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: maple: Do not pass SLAB_POISON to kmem_cache_create()
authorMatt Fleming <mjf@gentoo.org>
Tue, 16 Dec 2008 00:15:31 +0000 (09:15 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 16 Dec 2008 07:40:32 +0000 (16:40 +0900)
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 <adrian@newgolddream.dyndns.info>
Signed-off-by: Matt Fleming <mjf@gentoo.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/maple/maple.c

index d1812d32f47d40c4c5e3c028aae8727c755f451f..63f0de29aa14eeb508645dd0b917e7c4163950c1 100644 (file)
@@ -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;