Files
kernel-tenderloin-3.0/kernel
Stephen Boyd 2a10706255 sched: Fix __schedule_bug() output when called from an interrupt
If schedule is called from an interrupt handler __schedule_bug()
will call show_regs() with the registers saved during the
interrupt handling done in do_IRQ(). This means we'll see the
registers and the backtrace for the process that was interrupted
and not the full backtrace explaining who called schedule().

This is due to 838225b (sched: use show_regs() to improve
__schedule_bug() output, 2007-10-24) which improperly assumed
that get_irq_regs() would return the registers for the current
stack because it is being called from within an interrupt
handler. Simply remove the show_reg() code so that we dump a
backtrace for the interrupt handler that called schedule().

Change-Id: I2922e793bed4c2bf3f1e5d1be851c8d61a384fee
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-03-28 17:13:01 -07:00
..
2011-03-31 11:26:23 -03:00
2011-08-04 21:58:35 -07:00
2010-08-09 16:48:42 -04:00
2011-03-31 11:26:23 -03:00
2011-03-14 09:15:23 -04:00
2010-10-30 01:42:19 -04:00
2011-05-19 18:51:57 +10:00
2011-10-03 09:57:10 -07:00
2011-10-03 09:57:10 -07:00
2011-05-17 23:19:17 +02:00
2011-10-27 15:01:19 -07:00
2010-10-01 10:50:58 -07:00
2011-03-31 11:26:23 -03:00
2011-05-26 17:12:34 -07:00
2011-03-31 11:26:23 -03:00
2011-08-19 11:41:00 -07:00
2011-04-18 10:35:30 -07:00
2011-10-03 09:57:10 -07:00
2011-05-24 12:10:51 +02:00
2012-02-07 09:04:00 -08:00
2011-05-20 12:50:29 -07:00
2011-10-03 09:57:10 -07:00
2011-03-31 11:26:23 -03:00
2011-04-24 13:18:38 +02:00
2011-10-03 09:57:10 -07:00
2011-03-23 19:46:51 -07:00
2011-10-03 09:57:10 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00