x86/cpu: Mark {hlt,resume}_play_dead() __noreturn
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 12 Apr 2023 23:49:39 +0000 (16:49 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 14 Apr 2023 15:31:27 +0000 (17:31 +0200)
commit52668badd34b4b346f32c33a9bcba069a06c3caa
treeb5663a33a9afba174f10f990e2b659d2438aa7e5
parent09c5ae30d007514a1be870fa5873ad55c3319f3a
x86/cpu: Mark {hlt,resume}_play_dead() __noreturn

Fixes the following warning:

  vmlinux.o: warning: objtool: resume_play_dead+0x21: unreachable instruction

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/ce1407c4bf88b1334fe40413126343792a77ca50.1681342859.git.jpoimboe@kernel.org
arch/x86/include/asm/smp.h
arch/x86/kernel/smpboot.c
arch/x86/power/cpu.c
tools/objtool/check.c