sched: Disable scheduler warnings during oopses
authorDave Jones <davej@redhat.com>
Thu, 22 Dec 2011 21:39:30 +0000 (16:39 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 23 Dec 2011 10:20:50 +0000 (11:20 +0100)
commit664dfa65e84429d0b68694483e1de7365c7c56fb
tree9c3b1ae83a5a139c0420184d5eece0059c086216
parent62af3783e4fd8ba9e28416e8e91cb3bdd9fb133e
sched: Disable scheduler warnings during oopses

The panic-on-framebuffer code seems to cause a schedule
to occur during an oops. This causes a bunch of extra
spew as can be seen in:

   https://bugzilla.redhat.com/attachment.cgi?id=549230

Don't do scheduler debug checks when we are oopsing already.

Signed-off-by: Dave Jones <davej@redhat.com>
Link: http://lkml.kernel.org/r/20111222213929.GA4722@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched/core.c