clockevents: fix device replacement
commit5590a536c0bc403fc73908c66c1c88cbed735ecb
authorThomas Gleixner <tglx@linutronix.de>
Sat, 21 Jul 2007 11:37:35 +0000 (21 04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:15 +0000 (21 17:49 -0700)
treee07b89628885da86706a2ba0ce9d50cd7f4a0dfc
parent18de5bc4c1f1f1fa5e14f354a7603bd6e9d4e3b6
clockevents: fix device replacement

When a device is replaced by a better rated device, then the broadcast
mode needs to be evaluated again. When the new device has no requirement
for broadcasting, then the broadcast bits for the CPU must be cleared.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/time/tick-broadcast.c