summaryrefslogtreecommitdiff
path: root/kernel/time/timer.c
diff options
context:
space:
mode:
authorOlav Haugan <ohaugan@codeaurora.org>2016-07-03 15:02:08 -0700
committerOlav Haugan <ohaugan@codeaurora.org>2016-09-20 17:47:13 -0700
commit922fed628c625b28a50f66267e4b9f99088e2aa4 (patch)
tree79a2cd47f2a8d7f5aabe9c52c8fc497610f82888 /kernel/time/timer.c
parentbba552f4fc0046325f29156720a04623a71821d5 (diff)
timer: Do not require CPUSETS to be enabled for migration
Do not require CPUSETS to be enabled to allow migration of timers and hrtimers. Change-Id: Ib911a0d34c250c4df020bdb265b92d2b8df8db93 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'kernel/time/timer.c')
-rw-r--r--kernel/time/timer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index d38a67a49550..0efb3916f5a4 100644
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -1695,12 +1695,10 @@ static void migrate_timers(int cpu)
__migrate_timers(cpu, false, true);
}
-#ifdef CONFIG_CPUSETS
void timer_quiesce_cpu(void *cpup)
{
__migrate_timers(*(int *)cpup, true, false);
}
-#endif /* CONFIG_CPUSETS */
static int timer_cpu_notify(struct notifier_block *self,
unsigned long action, void *hcpu)