]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/blk.h
OMAP: dmtimer: enable all timers to be wakeup events
[linux-2.6-omap-h63xx.git] / block / blk.h
index 6e1ed40534e97e78ff0263268b2826344f2207b7..0dce92c37496faf8b187741de6d169869019e9b7 100644 (file)
@@ -108,4 +108,12 @@ static inline int blk_cpu_to_group(int cpu)
 #endif
 }
 
+static inline int blk_do_io_stat(struct request_queue *q)
+{
+       if (q)
+               return blk_queue_io_stat(q);
+
+       return 0;
+}
+
 #endif