summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 85f7f65)
raw | patch | inline | side by side (parent: 85f7f65)
author | Thomas Gleixner <tglx@linutronix.de> | |
Mon, 7 May 2012 17:59:49 +0000 (17:59 +0000) | ||
committer | Thomas Gleixner <tglx@linutronix.de> | |
Tue, 8 May 2012 10:35:06 +0000 (12:35 +0200) |
cpuidle uses a generic function now. Remove the unused code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russell King <linux@arm.linux.org.uk>
Link: http://lkml.kernel.org/r/20120507175652.260797846@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russell King <linux@arm.linux.org.uk>
Link: http://lkml.kernel.org/r/20120507175652.260797846@linutronix.de
arch/arm/Kconfig | patch | blob | history | |
arch/arm/include/asm/processor.h | patch | blob | history | |
arch/arm/kernel/process.c | patch | blob | history |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index cb253ce218a0cd42569148f19208c393e29cab6d..a3ad49639fc071906cd1a84ec266747681a9c518 100644 (file)
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
and that the relevant menu configurations are displayed for
it.
-config ARCH_HAS_CPU_IDLE_WAIT
- def_bool y
-
config GENERIC_HWEIGHT
bool
default y
index 5ac8d3d3e0259cc8ceaa16b7ac7caa6facf177f7..d7038fa223436227f14276406128ff9b247061d4 100644 (file)
#define cpu_relax() barrier()
#endif
-void cpu_idle_wait(void);
-
/*
* Create a new kernel thread
*/
index 2b7b017a20cd6fe9e1644e61ab1f5fe03f7d1be0..19c95ea65b2f25c25371734a7a03f147e929978e 100644 (file)
void (*arm_pm_restart)(char str, const char *cmd) = null_restart;
EXPORT_SYMBOL_GPL(arm_pm_restart);
-static void do_nothing(void *unused)
-{
-}
-
-/*
- * cpu_idle_wait - Used to ensure that all the CPUs discard old value of
- * pm_idle and update to new pm_idle value. Required while changing pm_idle
- * handler on SMP systems.
- *
- * Caller must have changed pm_idle to the new value before the call. Old
- * pm_idle value will not be used by any CPU after the return of this function.
- */
-void cpu_idle_wait(void)
-{
- smp_mb();
- /* kick all the CPUs so that they exit out of pm_idle */
- smp_call_function(do_nothing, NULL, 1);
-}
-EXPORT_SYMBOL_GPL(cpu_idle_wait);
-
/*
* This is our default idle handler.
*/