Skip to contentSkip to conversation

+ idle-remove-cpu_idle-forward-declarations.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 29, 2014 CPU hotplug

lore
Share & tools
lore
#0 lore raw

Subject: + idle-remove-cpu_idle-forward-declarations.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Thu, 29 May 2014 16:00:36 -0700

The patch titled
Subject: idle: remove cpu_idle() forward declarations
has been added to the -mm tree. Its filename is
idle-remove-cpu_idle-forward-declarations.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/idle-remove-cpu_idle-forward-declarations.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/idle-remove-cpu_idle-forward-declarations.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: idle: remove cpu_idle() forward declarations

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

---

 include/linux/cpu.h |    1 -
 include/linux/smp.h |    2 --
 2 files changed, 3 deletions(-)
include/linux/cpu.h renamed from include/linux/cpu.h~idle-remove-cpu_idle-forward-declarations +0 -1
diff -puN include/linux/cpu.h~idle-remove-cpu_idle-forward-declarations include/linux/cpu.h
@@ -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);
 
include/linux/smp.h renamed from include/linux/smp.h~idle-remove-cpu_idle-forward-declarations +0 -1
diff -puN include/linux/smp.h~idle-remove-cpu_idle-forward-declarations include/linux/smp.h
@@ -13,8 +13,6 @@
 #include <linux/init.h>
 #include <linux/llist.h>
 
-extern void cpu_idle(void);