summaryrefslogtreecommitdiff
path: root/kernel/xpp/xpp_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/xpp/xpp_usb.c')
-rw-r--r--kernel/xpp/xpp_usb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/xpp/xpp_usb.c b/kernel/xpp/xpp_usb.c
index 0340768..0d6d16a 100644
--- a/kernel/xpp/xpp_usb.c
+++ b/kernel/xpp/xpp_usb.c
@@ -975,7 +975,11 @@ 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)
+ 0, SLAB_STORE_USER,
+#else
0, 0,
+#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
NULL,
#endif