]> git.baikalelectronics.ru Git - kernel.git/commit
s390/traps: do not test MONITOR CALL without CONFIG_BUG
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 2 Jul 2021 13:54:55 +0000 (15:54 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 8 Jul 2021 13:37:27 +0000 (15:37 +0200)
commitbd31688724ebc09d10572f08c07587a6a72eb624
treeb33d3207fc1d8a90ee8e53e8c5b84bb728613ded
parent4bf56b691e1003ace1188e2931b1a4d4086ec0b2
s390/traps: do not test MONITOR CALL without CONFIG_BUG

tinyconfig fails to boot, because without CONFIG_BUG report_bug()
always returns BUG_TRAP_TYPE_BUG, which causes mc 0,0 in
test_monitor_call() to panic. Fix by skipping the test without
CONFIG_BUG.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/traps.c