diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-11-11 13:47:45 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-11-11 13:47:45 +0100 |
commit | ad5ebd2fa2557b04a653bb3c3377a47da8f9b8e9 (patch) | |
tree | f70ba006e73db3450b468c3098d43fc2a392b1da /block/cfq-iosched.c | |
parent | block: Expose discard granularity (diff) | |
download | linux-ad5ebd2fa2557b04a653bb3c3377a47da8f9b8e9.tar.xz linux-ad5ebd2fa2557b04a653bb3c3377a47da8f9b8e9.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 829d87d3e00f..1bcbd8c79896 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> |