]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/bug: Add missing CONFIG_BUG ifdef again
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 2 Dec 2025 13:41:00 +0000 (14:41 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 8 Dec 2025 14:42:36 +0000 (15:42 +0100)
commit1a82d430c5f05d4bf15b86a9f0349e4a24ec485c
tree22fbb78b8e4441035ad91328a92b6798640049db
parent2f393c228cc519ddf19b8c6c05bf15723241aa96
s390/bug: Add missing CONFIG_BUG ifdef again

Fallback to generic BUG implementation in case CONFIG_BUG is disabled.
This restores the old behaviour before 'cond_str' support was added.

It probably doesn't matter, since nobody should disable CONFIG_BUG, but at
least this is consistent to before.

Fixes: 6584ff203aec ("bugs/s390: Use 'cond_str' in __EMIT_BUG()")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/bug.h