]> 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)
commitab96c596e6bd0d5ae515af2b424fd1d007936aee
tree03f94969b51c454f5da2b52cc311e510c28c2080
parentce18ab0fdd89b3bbce8d303abf4e4ff1342d306a
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