]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
unreachable: Unify
authorPeter Zijlstra <peterz@infradead.org>
Thu, 28 Nov 2024 09:39:01 +0000 (10:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 17:25:35 +0000 (18:25 +0100)
commit8cc451444cfd569746d2e32cd87da0600d73ed2b
tree0235f9feae825b3bcad2a8655d5090d1bda73c52
parent546c19eb69fdee26cf3734cf587758f6dbfcf8b3
unreachable: Unify

[ Upstream commit c837de3810982cd41cd70e5170da1931439f025c ]

Since barrier_before_unreachable() is empty for !GCC it is trivial to
unify the two definitions. Less is more.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/20241128094311.924381359@infradead.org
Stable-dep-of: 73cfc53cc3b6 ("objtool: Fix C jump table annotations for Clang")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/compiler-gcc.h
include/linux/compiler.h