aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/process.c')
-rw-r--r--arch/ia64/kernel/process.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index ce74e143aea3..5e0e86ddb12f 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -273,26 +273,6 @@ static inline void play_dead(void)
273} 273}
274#endif /* CONFIG_HOTPLUG_CPU */ 274#endif /* CONFIG_HOTPLUG_CPU */
275 275
276static void do_nothing(void *unused)
277{
278}
279
280/*
281 * cpu_idle_wait - Used to ensure that all the CPUs discard old value of
282 * pm_idle and update to new pm_idle value. Required while changing pm_idle
283 * handler on SMP systems.
284 *
285 * Caller must have changed pm_idle to the new value before the call. Old
286 * pm_idle value will not be used by any CPU after the return of this function.
287 */
288void cpu_idle_wait(void)
289{
290 smp_mb();
291 /* kick all the CPUs so that they exit out of pm_idle */
292 smp_call_function(do_nothing, NULL, 1);
293}
294EXPORT_SYMBOL_GPL(cpu_idle_wait);
295
296void __attribute__((noreturn)) 276void __attribute__((noreturn))
297cpu_idle (void) 277cpu_idle (void)
298{ 278{