timer: Add function to migrate timers
Add function to migrate timer that will be used by later patch set. Change-Id: I2d4fbe312fe635273c7386aba8378937f4b0ac15 Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org> [ohaugan@codeaurora.org: Updated commit text and fixed trivial merge conflict] Git-commit: 3633b88d8fcb4273807574c27c328b6908a741e5 Git-repo: git://git.linaro.org/people/mike.holmes/santosh.shukla/lng-isol.git Signed-off-by: Olav Haugan <ohaugan@codeaurora.org> [rameezmustafa@codeaurora.org: Port to msm-4.9] Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org> Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
parent
fe3df39e04
commit
7368bc9d17
1 changed files with 7 additions and 0 deletions
|
@ -1945,6 +1945,13 @@ int timers_dead_cpu(unsigned int cpu)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CPUSETS
|
||||
void timer_quiesce_cpu(void *cpup)
|
||||
{
|
||||
__migrate_timers(*(unsigned int *)cpup, false);
|
||||
}
|
||||
#endif /* CONFIG_CPUSETS */
|
||||
|
||||
#endif /* CONFIG_HOTPLUG_CPU */
|
||||
|
||||
static void __init init_timer_cpu(int cpu)
|
||||
|
|
Loading…
Add table
Reference in a new issue