[PATCH] md: allow SET_BITMAP_FILE to work on 64bit kernel with 32bit userspace
[pandora-kernel.git] / include / linux / elevator.h
index 9c5a04f..b3370ef 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <linux/percpu.h>
 
+#ifdef CONFIG_BLOCK
+
 typedef int (elevator_merge_fn) (request_queue_t *, struct request **,
                                 struct bio *);
 
@@ -203,4 +205,5 @@ enum {
        __val;                                                  \
 })
 
+#endif /* CONFIG_BLOCK */
 #endif