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
mpu401
opl3
opl4
pcsp
vx
Kconfig -rw-r--r-- 6.8 KB
Makefile -rw-r--r-- 788 bytes
aloop.c -rw-r--r-- 35.4 KB
dummy.c -rw-r--r-- 32.1 KB
ml403-ac97cr.c -rw-r--r-- 39.6 KB
mtpav.c -rw-r--r-- 19.8 KB
mts64.c -rw-r--r-- 26.2 KB
pcm-indirect2.c -rw-r--r-- 16.8 KB
pcm-indirect2.h -rw-r--r-- 5.1 KB
portman2x4.c -rw-r--r-- 25.0 KB
serial-u16550.c -rw-r--r-- 30.7 KB
virmidi.c -rw-r--r-- 5.5 KB

back to top