diff options
author | Xiaotian Feng <dfeng@redhat.com> | 2010-01-07 11:22:44 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-01-18 14:44:50 +0100 |
commit | ea9d8e3f45404d411c00ae67b45cc35c58265bb7 (patch) | |
tree | 227fbaa1c05feec65dad473e7a49133985759ab7 /lib | |
parent | 7dc9c484a71525794ca05cf7a47f283f1b54cd12 (diff) |
clockevent: Don't remove broadcast device when cpu is dead
Marc reported that the BUG_ON in clockevents_notify() triggers on his
system. This happens because the kernel tries to remove an active
clock event device (used for broadcasting) from the device list.
The handling of devices which can be used as per cpu device and as a
global broadcast device is suboptimal.
The simplest solution for now (and for stable) is to check whether the
device is used as global broadcast device, but this needs to be
revisited.
[ tglx: restored the cpuweight check and massaged the changelog ]
Reported-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: Xiaotian Feng <dfeng@redhat.com>
LKML-Reference: <1262834564-13033-1-git-send-email-dfeng@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@kernel.org
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions