summaryrefslogtreecommitdiff
path: root/drivers/sh/maple
diff options
context:
space:
mode:
authorMatt Fleming <mjf@gentoo.org>2008-12-16 09:15:31 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-12-16 16:40:32 +0900
commit93d546399c2b7d66a54d5fbd5eee17de19246bf6 (patch)
tree063adac96c72807acde4c2673e1f83950fb765fd /drivers/sh/maple
parentcefb3d02cad6fae49369cdde24526c4c4806b20f (diff)
downloadlinux-stable-93d546399c2b7d66a54d5fbd5eee17de19246bf6.tar.gz
linux-stable-93d546399c2b7d66a54d5fbd5eee17de19246bf6.tar.bz2
linux-stable-93d546399c2b7d66a54d5fbd5eee17de19246bf6.zip
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 <adrian@newgolddream.dyndns.info> Signed-off-by: Matt Fleming <mjf@gentoo.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/maple')
-rw-r--r--drivers/sh/maple/maple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c
index d1812d32f47d..63f0de29aa14 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;