Files
linux-stable-mirror/arch
Peter ZijlstraandGreg Kroah-Hartman 910d55f7d6 x86: Convert unreachable() to BUG()
[ Upstream commit 2190966fbc ]

Avoid unreachable() as it can (and will in the absence of UBSAN)
generate fallthrough code. Use BUG() so we get a UD2 trap (with
unreachable annotation).

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/20241128094312.028316261@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-17 10:04:44 +01:00
..
2025-02-17 10:04:44 +01:00