]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bugs/s390: Remove private WARN_ON() implementation
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 17 Jun 2025 13:50:41 +0000 (15:50 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 28 Jul 2025 06:07:07 +0000 (08:07 +0200)
commited845c363d8c93eeaad4ce48bb7d5f81b6a75b61
treed77c404fd82643f7084dc990610f3abcc809855b
parent28ea295f941e39965c562097d5de0e66a373f19d
bugs/s390: Remove private WARN_ON() implementation

Besides an odd __builtin_constant_p() optimization the s390 specific
WARN_ON() implementation is identical to the generic variant.
Drop the s390 variant in favor of the generic variant.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org> # Rebased ancestor commits
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20250617135042.1878068-2-hca@linux.ibm.com
arch/s390/include/asm/bug.h