提交 ae022622 编写于 作者: G Geert Uytterhoeven 提交者: Linus Torvalds

idle: remove cpu_idle() forward declarations

After all architectures were converted to the generic idle framework,
commit d190e819 ("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: NGeert Uytterhoeven <geert+renesas@glider.be>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 04cfac4e
...@@ -256,7 +256,6 @@ enum cpuhp_state { ...@@ -256,7 +256,6 @@ enum cpuhp_state {
}; };
void cpu_startup_entry(enum cpuhp_state state); void cpu_startup_entry(enum cpuhp_state state);
void cpu_idle(void);
void cpu_idle_poll_ctrl(bool enable); void cpu_idle_poll_ctrl(bool enable);
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/llist.h> #include <linux/llist.h>
extern void cpu_idle(void);
typedef void (*smp_call_func_t)(void *info); typedef void (*smp_call_func_t)(void *info);
struct call_single_data { struct call_single_data {
struct llist_node llist; struct llist_node llist;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册