sched/rt: Add <linux/sched/rt.h> header to <linux/init_task.h>
authorIngo Molnar <mingo@kernel.org>
Sat, 16 Feb 2013 08:46:48 +0000 (09:46 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 Feb 2013 07:06:01 +0000 (08:06 +0100)
commit77852fea6e2442a0e654a9292060489895de18c7
tree54b698af91b7b6296a1c7799d4bddb80667b6b98
parentcdc4e86b58a95005ef500916b4a8e91a0037a822
sched/rt: Add <linux/sched/rt.h> header to <linux/init_task.h>

IA64 relied on it through sched.h inclusion:

  arch/ia64/kernel/init_task.c:38:11: error: 'MAX_PRIO' undeclared here (not in a function)
  arch/ia64/kernel/init_task.c:38:11: error: 'RR_TIMESLICE' undeclared here (not in a function)

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Clark Williams <williams@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-xaan1twswggedMR0airtpjui@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/init_task.h