sched: Check for idle task in might_sleep()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 7 Feb 2014 19:58:38 +0000 (20:58 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 22 Feb 2014 17:07:50 +0000 (18:07 +0100)
commitdb273be2a7d42f92b3471e0f717982928214a650
treee3ba291902e288f1fa43c6df9ceca6bf42b9f6f0
parent77177856e3bf39d435b3ae4bfd164ca3c8cd4577
sched: Check for idle task in might_sleep()

Idle is not allowed to call sleeping functions ever!

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1391803122-4425-3-git-send-email-bigeasy@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c