]> git.baikalelectronics.ru Git - kernel.git/commit
clockevents: Set noop handler in clockevents_exchange_device()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 2 Dec 2011 15:02:45 +0000 (16:02 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 2 Dec 2011 15:07:23 +0000 (16:07 +0100)
commit9dee8799390c497a54fad18b4d20f20ea31718b4
tree03f94969b51c454f5da2b52cc311e510c28c2080
parent8161bb9b3bf8e557b620af265b2ab941262489e7
clockevents: Set noop handler in clockevents_exchange_device()

If a device is shutdown, then there might be a pending interrupt,
which will be processed after we reenable interrupts, which causes the
original handler to be run. If the old handler is the (broadcast)
periodic handler the shutdown state might hang the kernel completely.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
kernel/time/clockevents.c