[PATCH] io-controller: including "linux/sched.h"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gui Jianfeng
Date: Thursday, April 15, 2010 - 11:38 pm

Include sched.h explicitly since sched_clock() is called.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
---
 block/blk-cgroup.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 83930f6..ed6590e 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -19,6 +19,7 @@
 #include <linux/slab.h>
 #include "blk-cgroup.h"
 #include <linux/genhd.h>
+#include <linux/sched.h>
 
 #define MAX_KEY_LEN 100
 
-- 
1.5.4.rc3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] io-controller: including "linux/sched.h", Gui Jianfeng, (Thu Apr 15, 11:38 pm)