diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-24 10:38:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-24 10:38:07 -0800 |
commit | f6760aa024199cfbce564311dc4bc4d47b6fb349 (patch) | |
tree | e059ad7965cba0234097d6893dfe8afbfd3beb67 | |
parent | 90ea301916688d010862395b00817f3c1c8e09a4 (diff) | |
parent | ea9d8e3f45404d411c00ae67b45cc35c58265bb7 (diff) | |
download | linux-f6760aa024199cfbce564311dc4bc4d47b6fb349.tar.gz linux-f6760aa024199cfbce564311dc4bc4d47b6fb349.tar.bz2 linux-f6760aa024199cfbce564311dc4bc4d47b6fb349.zip |
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
-rw-r--r-- | kernel/time/clockevents.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 6f740d9f0948..d7395fdfb9f3 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c @@ -259,7 +259,8 @@ void clockevents_notify(unsigned long reason, void *arg) cpu = *((int *)arg); list_for_each_entry_safe(dev, tmp, &clockevent_devices, list) { if (cpumask_test_cpu(cpu, dev->cpumask) && - cpumask_weight(dev->cpumask) == 1) { + cpumask_weight(dev->cpumask) == 1 && + !tick_is_broadcast_device(dev)) { BUG_ON(dev->mode != CLOCK_EVT_MODE_UNUSED); list_del(&dev->list); } |