summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/xpp/xpp_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/xpp/xpp_usb.c b/kernel/xpp/xpp_usb.c
index 525f777..aebac2b 100644
--- a/kernel/xpp/xpp_usb.c
+++ b/kernel/xpp/xpp_usb.c
@@ -975,7 +975,7 @@ static int __init xpp_usb_init(void)
INFO("revision %s\n", XPP_VERSION);
xusb_cache = kmem_cache_create("xusb_cache",
sizeof(xframe_t) + XFRAME_DATASIZE,
-#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,22)
+#if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,22)) && defined(CONFIG_SLUB)
0, SLAB_STORE_USER,
#else
0, 0,