X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=block%2Fblk.h;h=0dce92c37496faf8b187741de6d169869019e9b7;hb=cc0b6fe88e99096868bdbacbf486c97299533b5a;hp=6e1ed40534e97e78ff0263268b2826344f2207b7;hpb=4ce5f24193cef2e26f182ce708e94ba1f5fafc0c;p=linux-2.6-omap-h63xx.git diff --git a/block/blk.h b/block/blk.h index 6e1ed40534e..0dce92c3749 100644 --- a/block/blk.h +++ b/block/blk.h @@ -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