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>

authored by

Matt Fleming and committed by
Paul Mundt
93d54639 cefb3d02

+1 -1
+1 -1
drivers/sh/maple/maple.c
··· 827 828 maple_queue_cache = 829 kmem_cache_create("maple_queue_cache", 0x400, 0, 830 - SLAB_POISON|SLAB_HWCACHE_ALIGN, NULL); 831 832 if (!maple_queue_cache) 833 goto cleanup_bothirqs;
··· 827 828 maple_queue_cache = 829 kmem_cache_create("maple_queue_cache", 0x400, 0, 830 + SLAB_HWCACHE_ALIGN, NULL); 831 832 if (!maple_queue_cache) 833 goto cleanup_bothirqs;