Skip to content

Commit 664ba1f

Browse files
torvaldsgregkh
authored andcommitted
Revert "clockevents: Set noop handler in clockevents_exchange_device()"
commit 3b87487 upstream. This reverts commit de28f25. It results in resume problems for various people. See for example http://thread.gmane.org/gmane.linux.kernel/1233033 http://thread.gmane.org/gmane.linux.kernel/1233389 http://thread.gmane.org/gmane.linux.kernel/1233159 http://thread.gmane.org/gmane.linux.kernel/1227868/focus=1230877 and the fedora and ubuntu bug reports https://bugzilla.redhat.com/show_bug.cgi?id=767248 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/904569 which got bisected down to the stable version of this commit. Reported-by: Jonathan Nieder <jrnieder@gmail.com> Reported-by: Phil Miller <mille121@illinois.edu> Reported-by: Philip Langdale <philipl@overt.org> Reported-by: Tim Gardner <tim.gardner@canonical.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent c26f60b commit 664ba1f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎kernel/time/clockevents.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ void clockevents_exchange_device(struct clock_event_device *old,
286286
* released list and do a notify add later.
287287
*/
288288
if (old) {
289-
old->event_handler = clockevents_handle_noop;
290289
clockevents_set_mode(old, CLOCK_EVT_MODE_UNUSED);
291290
list_del(&old->list);
292291
list_add(&old->list, &clockevents_released);

0 commit comments

Comments
 (0)