]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
idle: remove cpu_idle() forward declarations
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 6 Jun 2014 21:38:31 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:18 +0000 (16:08 -0700)
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>
include/linux/cpu.h
include/linux/smp.h

index 81887120395c81347c6a74ad3c92d847f3c4c90d..95978ad7fcddae86ed517956b08aaa0d0615e221 100644 (file)
@@ -256,7 +256,6 @@ enum cpuhp_state {
 };
 
 void cpu_startup_entry(enum cpuhp_state state);
-void cpu_idle(void);
 
 void cpu_idle_poll_ctrl(bool enable);
 
index 633f5edd7470c01518416fc93ca4b7d08b9d372c..34347f26be9b8ff03567a7345b86a8ee3bf17755 100644 (file)
@@ -13,8 +13,6 @@
 #include <linux/init.h>
 #include <linux/llist.h>
 
-extern void cpu_idle(void);
-
 typedef void (*smp_call_func_t)(void *info);
 struct call_single_data {
        struct llist_node llist;