aboutsummaryrefslogtreecommitdiff
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-11-11 13:47:45 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-11-11 13:47:45 +0100
commitad5ebd2fa2557b04a653bb3c3377a47da8f9b8e9 (patch)
treef70ba006e73db3450b468c3098d43fc2a392b1da /block/cfq-iosched.c
parent86b37281411cf1e9bc0a6b5406c45edb7bd9ea5d (diff)
block: jiffies fixes
Use HZ-independent calculation of milliseconds. Add jiffies.h where it was missing since functions or macros from it are used. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r--block/cfq-iosched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 829d87d3e00..1bcbd8c7989 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -9,6 +9,7 @@
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/elevator.h>
+#include <linux/jiffies.h>
#include <linux/rbtree.h>
#include <linux/ioprio.h>
#include <linux/blktrace_api.h>