summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2013-02-07 16:47:07 +0100
committerIngo Molnar <mingo@kernel.org>2013-02-07 20:51:08 +0100
commit8bd75c77b7c6a3954140dd2e20346aef3efe4a35 (patch)
tree10e0d451a58aeb6c8f48b871a848276bf3a8a359 /kernel/sched
parentsched/rt: Add a tuning knob to allow changing SCHED_RR timeslice (diff)
downloadlinux-8bd75c77b7c6a3954140dd2e20346aef3efe4a35.tar.xz
linux-8bd75c77b7c6a3954140dd2e20346aef3efe4a35.zip
sched/rt: Move rt specific bits into new header file
Move rt scheduler definitions out of include/linux/sched.h into new file include/linux/sched/rt.h Signed-off-by: Clark Williams <williams@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/20130207094707.7b9f825f@riff.lan Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/cpupri.c2
-rw-r--r--kernel/sched/sched.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sched/cpupri.c b/kernel/sched/cpupri.c
index 23aa789c53ee..1095e878a46f 100644
--- a/kernel/sched/cpupri.c
+++ b/kernel/sched/cpupri.c
@@ -28,6 +28,8 @@
*/
#include <linux/gfp.h>
+#include <linux/sched.h>
+#include <linux/sched/rt.h>
#include "cpupri.h"
/* Convert between a 140 based task->prio, and our 102 based cpupri */
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index ed8de30a040e..cc03cfdf469f 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -1,6 +1,7 @@
#include <linux/sched.h>
#include <linux/sched/sysctl.h>
+#include <linux/sched/rt.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/stop_machine.h>