Revision 29d6455178a09e1dc340380c582b13356227e8df authored by Jann Horn on 01 June 2016, 09:55:07 UTC, committed by Linus Torvalds on 10 June 2016, 19:09:43 UTC
Until now, hitting this BUG_ON caused a recursive oops (because oops
handling involves do_exit(), which calls into the scheduler, which in
turn raises an oops), which caused stuff below the stack to be
overwritten until a panic happened (e.g.  via an oops in interrupt
context, caused by the overwritten CPU index in the thread_info).

Just panic directly.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 2f36db7
History
File Mode Size
Kconfig -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 285 bytes
awacs.c -rw-r--r-- 31.8 KB
awacs.h -rw-r--r-- 8.0 KB
beep.c -rw-r--r-- 7.7 KB
burgundy.c -rw-r--r-- 24.3 KB
burgundy.h -rw-r--r-- 4.0 KB
daca.c -rw-r--r-- 6.9 KB
keywest.c -rw-r--r-- 4.3 KB
pmac.c -rw-r--r-- 37.2 KB
pmac.h -rw-r--r-- 5.1 KB
powermac.c -rw-r--r-- 5.1 KB
snd_ps3.c -rw-r--r-- 28.6 KB
snd_ps3.h -rw-r--r-- 3.5 KB
snd_ps3_reg.h -rw-r--r-- 33.2 KB
tumbler.c -rw-r--r-- 38.3 KB
tumbler_volume.h -rw-r--r-- 6.5 KB

back to top