mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
sparc/cpu: Mark cpu_play_dead() __noreturn
cpu_play_dead() doesn't return. Annotate it as such. By extension this also makes arch_cpu_idle_dead() noreturn. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Link: https://lore.kernel.org/r/847fdb53cc7124bb7c94e3e104e443a29be85184.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
This commit is contained in:
@@ -49,7 +49,7 @@ int hard_smp_processor_id(void);
|
||||
|
||||
void smp_fill_in_cpu_possible_map(void);
|
||||
void smp_fill_in_sib_core_maps(void);
|
||||
void cpu_play_dead(void);
|
||||
void __noreturn cpu_play_dead(void);
|
||||
|
||||
void smp_fetch_global_regs(void);
|
||||
void smp_fetch_global_pmu(void);
|
||||
|
||||
Reference in New Issue
Block a user