Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

idle: remove cpu_idle() forward declarations

After all architectures were converted to the generic idle framework,
commit d190e8195b90 ("idle: Remove GENERIC_IDLE_LOOP config switch")
removed the last caller of cpu_idle(). The forward declarations in
header files were forgotten.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Geert Uytterhoeven and committed by
Linus Torvalds
ae022622 04cfac4e

-3
-1
include/linux/cpu.h
··· 256 256 }; 257 257 258 258 void cpu_startup_entry(enum cpuhp_state state); 259 - void cpu_idle(void); 260 259 261 260 void cpu_idle_poll_ctrl(bool enable); 262 261
-2
include/linux/smp.h
··· 13 13 #include <linux/init.h> 14 14 #include <linux/llist.h> 15 15 16 - extern void cpu_idle(void); 17 - 18 16 typedef void (*smp_call_func_t)(void *info); 19 17 struct call_single_data { 20 18 struct llist_node llist;