timer fixes for 4.2
Subsystems (3)
Linus,
please pull the latest timers-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus
This pull request 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
Thanks,
tglx
------------------>
Damian Eppel (1):
clocksource: exynos_mct: Avoid blocking calls in the cpu hotplug notifier
Thomas Gleixner (2):
timer: Fix hotplug regression
time: Remove development rules from Kbuild/Makefile
Kbuild | 1 - drivers/clocksource/exynos_mct.c | 43 ++++++++++++++++++++++++++++------------ kernel/time/Makefile | 2 -- kernel/time/timer.c | 3 ++- 4 files changed, 32 insertions(+), 17 deletions(-)
Kbuild +0 -1
@@ -52,7 +52,6 @@ $(obj)/$(bounds-file): kernel/bounds.s FORCE timeconst-file := include/generated/timeconst.h -#always += $(timeconst-file) targets += $(timeconst-file) quiet_cmd_gentimeconst = GEN $@
drivers/clocksource/exynos_mct.c +30 -13
69 lines not on this page · raw message
kernel/time/Makefile +0 -2
@@ -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/
kernel/time/timer.c +2 -1
@@ -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,