mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fixes from Thomas Gleixner: "This contains: - a build regression fix introduced by the timeconst move - a hotplug regression fix introduced by the timer wheel diet - a cpu hotplug bug fix for the exynos clocksource driver" * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: time: Remove development rules from Kbuild/Makefile timer: Fix hotplug regression clocksource: exynos_mct: Avoid blocking calls in the cpu hotplug notifier
This commit is contained in:
commit
6ac15baacb
4 changed files with 32 additions and 17 deletions
|
|
@ -12,5 +12,3 @@ obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o tick-sched.o
|
|||
obj-$(CONFIG_TIMER_STATS) += timer_stats.o
|
||||
obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o
|
||||
obj-$(CONFIG_TEST_UDELAY) += test_udelay.o
|
||||
|
||||
$(obj)/time.o: $(objtree)/include/config/
|
||||
|
|
|
|||
|
|
@ -1566,7 +1566,7 @@ static void migrate_timers(int cpu)
|
|||
|
||||
BUG_ON(cpu_online(cpu));
|
||||
old_base = per_cpu_ptr(&tvec_bases, cpu);
|
||||
new_base = this_cpu_ptr(&tvec_bases);
|
||||
new_base = get_cpu_ptr(&tvec_bases);
|
||||
/*
|
||||
* The caller is globally serialized and nobody else
|
||||
* takes two locks at once, deadlock is not possible.
|
||||
|
|
@ -1590,6 +1590,7 @@ static void migrate_timers(int cpu)
|
|||
|
||||
spin_unlock(&old_base->lock);
|
||||
spin_unlock_irq(&new_base->lock);
|
||||
put_cpu_ptr(&tvec_bases);
|
||||
}
|
||||
|
||||
static int timer_cpu_notify(struct notifier_block *self,
|
||||
|
|
|
|||
Loading…
Reference in a new issue