]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/vtime: Use lockdep_assert_irqs_disabled() instead of BUG_ON()
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 18 Feb 2026 14:20:11 +0000 (15:20 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 25 Feb 2026 15:46:07 +0000 (16:46 +0100)
commit80f63fd09efe9d9c016fd6378116eb7394edd2f2
treef4da8c29991199fbbb6b245d7c0cc1a7d973bc00
parente282ccd308de7b2a65eb4596da8030c18b543071
s390/vtime: Use lockdep_assert_irqs_disabled() instead of BUG_ON()

Use lockdep_assert_irqs_disabled() instead of BUG_ON(). This avoids
crashing the kernel, and generates better code if CONFIG_PROVE_LOCKING
is disabled.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/vtime.c