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-- 2.4 KB
Makefile -rw-r--r-- 908 bytes
atmel-classd.c -rw-r--r-- 17.8 KB
atmel-classd.h -rw-r--r-- 3.5 KB
atmel-pcm-dma.c -rw-r--r-- 4.3 KB
atmel-pcm-pdc.c -rw-r--r-- 11.7 KB
atmel-pcm.h -rw-r--r-- 3.7 KB
atmel-pdmic.c -rw-r--r-- 20.9 KB
atmel-pdmic.h -rw-r--r-- 1.8 KB
atmel_ssc_dai.c -rw-r--r-- 26.7 KB
atmel_ssc_dai.h -rw-r--r-- 3.2 KB
atmel_wm8904.c -rw-r--r-- 4.8 KB
sam9g20_wm8731.c -rw-r--r-- 6.9 KB
sam9x5_wm8731.c -rw-r--r-- 5.1 KB

back to top