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)
commit93d546399c2b7d66a54d5fbd5eee17de19246bf6
tree063adac96c72807acde4c2673e1f83950fb765fd
parentcefb3d02cad6fae49369cdde24526c4c4806b20f
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>
drivers/sh/maple/maple.c