diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-06-06 17:38:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:18 -0400 |
commit | ae022622ae9447bd70e59db7c91efa25c99a90d5 (patch) | |
tree | ef50853957fd8ea03ddcb6defc67a8ecd7a5a5c2 | |
parent | 04cfac4e40b2b5dbaf8c0fc625878388a98bb9c6 (diff) |
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>
-rw-r--r-- | include/linux/cpu.h | 1 | ||||
-rw-r--r-- | include/linux/smp.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 81887120395c..95978ad7fcdd 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h | |||
@@ -256,7 +256,6 @@ enum cpuhp_state { | |||
256 | }; | 256 | }; |
257 | 257 | ||
258 | void cpu_startup_entry(enum cpuhp_state state); | 258 | void cpu_startup_entry(enum cpuhp_state state); |
259 | void cpu_idle(void); | ||
260 | 259 | ||
261 | void cpu_idle_poll_ctrl(bool enable); | 260 | void cpu_idle_poll_ctrl(bool enable); |
262 | 261 | ||
diff --git a/include/linux/smp.h b/include/linux/smp.h index 633f5edd7470..34347f26be9b 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
@@ -13,8 +13,6 @@ | |||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/llist.h> | 14 | #include <linux/llist.h> |
15 | 15 | ||
16 | extern void cpu_idle(void); | ||
17 | |||
18 | typedef void (*smp_call_func_t)(void *info); | 16 | typedef void (*smp_call_func_t)(void *info); |
19 | struct call_single_data { | 17 | struct call_single_data { |
20 | struct llist_node llist; | 18 | struct llist_node llist; |