From: Stratos Psomadakis <psomas@xxxxxxxxxx> When CONFIG_PREEMPT_RT_FULL is not set, a build error occurs due to migrate_disable task_struct member not existing. Trivial fix, enclose it inside an #ifdef Signed-off-by: Stratos Psomadakis <psomas@xxxxxxxxxx> --- kernel/sched_debug.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index dba9e40..e68cf7f 100644 --- a/kernel/sched_debug.c +++ b/kernel/sched_debug.c @@ -485,7 +485,9 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m) P(se.load.weight); P(policy); P(prio); +#ifdef CONFIG_PREEMPT_RT_FULL P(migrate_disable); +#endif P(rt.nr_cpus_allowed); #undef PN #undef __PN -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html