summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>2014-01-27 17:15:37 -0500
committerIngo Molnar <mingo@kernel.org>2014-02-09 13:31:49 +0100
commit5c228079ce8a9bb043a423069a6674dfb9268037 (patch)
treed41bec8bc0723583902f002e1237ba915ebbbdc2 /include/linux/sched.h
parent390f3258cb2d031f1c17aa32e771ebd336e89073 (diff)
downloadlwn-5c228079ce8a9bb043a423069a6674dfb9268037.tar.gz
lwn-5c228079ce8a9bb043a423069a6674dfb9268037.zip
sched: Move the priority specific bits into a new header file
Some bits about priority are defined in linux/sched/rt.h, but some of them are not only for rt scheduler, such as MAX_PRIO. This patch move them all into a new header file, linux/sched/prio.h. Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> Cc: clark.williams@gmail.com Cc: rostedt@goodmis.org Cc: raistlin@linux.it Cc: juri.lelli@gmail.com Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/f7549508a1588da2c613d601748ca9de30fa5dcf.1390859827.git.yangds.fnst@cn.fujitsu.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index ed867797fe5a..d97d0a8e87dc 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -3,6 +3,8 @@
#include <uapi/linux/sched.h>
+#include <linux/sched/prio.h>
+
struct sched_param {
int sched_priority;