]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched: Expose some macros related to priority
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Mon, 27 Jan 2014 22:15:38 +0000 (17:15 -0500)
committerIngo Molnar <mingo@kernel.org>
Sun, 9 Feb 2014 12:31:51 +0000 (13:31 +0100)
commit6b6350f155afdfdf888e18c7bf26950a6d10b0c2
tree7a11b997387e666cbfff3f78489d892384c16680
parent5c228079ce8a9bb043a423069a6674dfb9268037
sched: Expose some macros related to priority

Some macros in kernel/sched/sched.h about priority are
private to kernel/sched. But they are useful to other
parts of the core kernel.

This patch moves these macros from kernel/sched/sched.h to
include/linux/sched/prio.h so that they are available to
other subsystems.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Cc: raistlin@linux.it
Cc: juri.lelli@gmail.com
Cc: clark.williams@gmail.com
Cc: rostedt@goodmis.org
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/2b022810905b52d13238466807f4b2a691577180.1390859827.git.yangds.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched/prio.h
kernel/sched/sched.h