summaryrefslogtreecommitdiff
path: root/xpp/xbus-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/xbus-core.c')
-rw-r--r--xpp/xbus-core.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xpp/xbus-core.c b/xpp/xbus-core.c
index f88e2cd..5a9e5d4 100644
--- a/xpp/xbus-core.c
+++ b/xpp/xbus-core.c
@@ -1281,7 +1281,10 @@ int __init xbus_core_init(void)
xframes_cache = kmem_cache_create("xpp_frames",
sizeof(xframe_t) + XFRAME_DATASIZE,
0, 0,
- NULL, NULL);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
+ NULL,
+#endif
+ NULL);
if(!xframes_cache) {
return -ENOMEM;
}