diff options
author | Santosh Shukla <santosh.shukla@linaro.org> | 2015-03-25 16:09:32 +0530 |
---|---|---|
committer | Gary S. Robertson <gary.robertson@linaro.org> | 2015-07-22 16:06:22 -0500 |
commit | 4248f3d2d81ae38a9f27c5b45f51c850c25969d6 (patch) | |
tree | 4611c7a2df31d8fbbfc101d802aebb8331495edf | |
parent | 438eef7e55c9a06ac9cda8e81441b459f97deb34 (diff) |
no-hz_full: build fix
Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
-rw-r--r-- | kernel/cpuset.c | 4 | ||||
-rw-r--r-- | kernel/time/timer.c | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 7a83c9a69939..e1571cbe7982 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -1288,8 +1288,8 @@ static int quiesce_cpuset(struct cpuset *cs, int turning_on) for_each_cpu(from_cpu, cs->cpus_allowed) { smp_call_function_any(&cpumask, hrtimer_quiesce_cpu, &from_cpu, 1); - smp_call_function_any(&cpumask, timer_quiesce_cpu, &from_cpu, - 1); + smp_call_function_any(&cpumask, timer_quiesce_cpu, &from_cpu, + 1); } return 0; diff --git a/kernel/time/timer.c b/kernel/time/timer.c index 6118b0bab8b8..de81f5085da3 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -1668,7 +1668,7 @@ static void __migrate_timers(int cpu, bool remove_pinned) } spin_unlock(&old_base->lock); - spin_unlock_irqrestore(&new_base->lock, flag); + spin_unlock_irqrestore(&new_base->lock, flags); put_cpu_var(tvec_bases); } #endif /* CONFIG_HOTPLUG_CPU || CONFIG_CPUSETS */ @@ -1681,6 +1681,13 @@ static void migrate_timers(int cpu) } #endif /* CONFIG_HOTPLUG_CPU */ +#ifdef CONFIG_CPUSETS +void timer_quiesce_cpu(void *cpup) +{ + __migrate_timers(*(int *)cpup, false); +} +#endif /* CONFIG_CPUSETS */ + static int timer_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu) { |