objtool: Fix ANNOTATE_REACHABLE to be a normal annotation
authorPeter Zijlstra <peterz@infradead.org>
Thu, 28 Nov 2024 09:39:06 +0000 (10:39 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 2 Dec 2024 11:01:44 +0000 (12:01 +0100)
commit87116ae6da034242baf06e799f9f0e2a8ee6a796
tree563474b90c154326592aead32819bea29780fc66
parente7a174fb43d24adca066e82d1cb9fdee092d48d1
objtool: Fix ANNOTATE_REACHABLE to be a normal annotation

Currently REACHABLE is weird for being on the instruction after the
instruction it modifies.

Since all REACHABLE annotations have an explicit instruction, flip
them around.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/20241128094312.494176035@infradead.org
arch/loongarch/include/asm/bug.h
arch/x86/entry/entry_64.S
arch/x86/include/asm/bug.h
arch/x86/include/asm/irq_stack.h
include/linux/objtool.h
tools/objtool/check.c