summaryrefslogtreecommitdiffstats
path: root/kernel/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/core.h')
-rw-r--r--kernel/core.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/core.h b/kernel/core.h
index 3c75ade..1b315d1 100644
--- a/kernel/core.h
+++ b/kernel/core.h
@@ -30,7 +30,12 @@ extern int dnbd2_major;
* 2. Enqueues the request into the send-queue.
* 3. Wakes up dnbd2_tx_loop.
*/
-void dnbd2_request(request_queue_t *q);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
+ void dnbd2_request(struct request_queue *q);
+#else
+ void dnbd2_request(request_queue_t *q);
+#endif
+
/*
* This thread sleeps until there are requests in the send-queue.