Skip to content

Commit

Permalink
idle: remove cpu_idle() forward declarations
Browse files Browse the repository at this point in the history
After all architectures were converted to the generic idle framework,
commit d190e81 ("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>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Jun 6, 2014
1 parent 04cfac4 commit ae02262
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion include/linux/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 0 additions & 2 deletions include/linux/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ae02262

Please sign in to comment.