Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
clockevent: Don't remove broadcast device when cpu is dead

+2 -1
+2 -1
kernel/time/clockevents.c
··· 259 259 cpu = *((int *)arg); 260 260 list_for_each_entry_safe(dev, tmp, &clockevent_devices, list) { 261 261 if (cpumask_test_cpu(cpu, dev->cpumask) && 262 - cpumask_weight(dev->cpumask) == 1) { 262 + cpumask_weight(dev->cpumask) == 1 && 263 + !tick_is_broadcast_device(dev)) { 263 264 BUG_ON(dev->mode != CLOCK_EVT_MODE_UNUSED); 264 265 list_del(&dev->list); 265 266 }