diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-07 17:59:49 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-08 12:35:06 +0200 |
commit | 448eca90932d97856b6a6097fc50eef96d77dec0 (patch) | |
tree | 75a2f19fca8e20eb5c8340be6cb2a49eaeb6dde4 /arch/arm/kernel | |
parent | 85f7f656274fa0ba109dd8774db3887d42de5c6b (diff) | |
download | op-kernel-dev-448eca90932d97856b6a6097fc50eef96d77dec0.zip op-kernel-dev-448eca90932d97856b6a6097fc50eef96d77dec0.tar.gz |
arm: Remove unused cpu_idle_wait()
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
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/process.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 2b7b017..19c95ea 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -157,26 +157,6 @@ EXPORT_SYMBOL(pm_power_off); 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. */ |