On Sat, 08 Mar 2025 13:37:53 +0800 Huacai Chen <chenhuacai@xxxxxxxxxxx> wrote: > > From: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > > 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. > > Backport to solve a build error since relevant commits have already been > backported. > > Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> > Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx> > Link: https://lore.kernel.org/r/20241128094312.133437051@xxxxxxxxxxxxx > Closes: https://lore.kernel.org/loongarch/20250307214943.372210-1-ojeda@xxxxxxxxxx/ > Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx> This indeed removes the build failure for me -- built-tested for loongarch64 (together with the rest of the Rust long backport series): Tested-by: Miguel Ojeda <ojeda@xxxxxxxxxx> Thanks! Cheers, Miguel