]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
loongarch: Use ASM_REACHABLE
authorPeter Zijlstra <peterz@infradead.org>
Thu, 28 Nov 2024 09:39:03 +0000 (10:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 12:01:40 +0000 (13:01 +0100)
commit3c0369e453ffc4b1d240c81043467ac7ccc6bb6f
tree4df292d4509227d6dd1565c8aa53f830ae9d1809
parent4a442cd27b5f0ac9b87b008e54fb88f1b14ebc5e
loongarch: Use ASM_REACHABLE

commit 624bde3465f660e54a7cd4c1efc3e536349fead5 upstream.

annotate_reachable() is unreliable since the compiler is free to place
random code inbetween two consecutive asm() statements.

This removes the last and only annotate_reachable() user.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/20241128094312.133437051@infradead.org
Closes: https://lore.kernel.org/loongarch/20250307214943.372210-1-ojeda@kernel.org/
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/loongarch/include/asm/bug.h