2.6.17-rt1 ommit an oops when suspending
PATCH 1/1 2.6.17-rt1 ommit an oops when suspending
Hi
with this applied my AMD64 suspended resumed successfully in PREEMPT_RT mode. Erm at least until now ;-) Takes longer than with mainline.
Signed-off-by Karsten Wiese <[email protected]>
kernel/time/clockevents.c +2 -2
@@ -547,7 +547,7 @@ global_eventsource_suspend(struct sys_device *dev, pm_message_t state) {/* Do generic stuff here */ -if (global_eventsource.event->suspend) +if (global_eventsource.event && global_eventsource.event->suspend) global_eventsource.event->suspend ();return 0 ; }
@@ -555,7 +555,7 @@static int global_eventsource_resume (struct sys_device *dev) {/* Do generic stuff here */ -if (global_eventsource.event->resume) +if (global_eventsource.event && global_eventsource.event->resume) global_eventsource.event->resume ();return 0 ; }
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Ingo Molnar
AppliedQuoted 5 lines · Karsten Wiese
Hi
with this applied my AMD64 suspended resumed successfully in
PREEMPT_RTmode. Erm at least until now ;-) Takes longer than with mainline.
thanks, applied.
Ingo