* [PATCH] 2.6.17-rt1 ommit an oops when suspending
@ 2006-06-21 15:54 Karsten Wiese
2006-06-21 18:28 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Karsten Wiese @ 2006-06-21 15:54 UTC (permalink / raw)
To: mingo, tglx, linux-kernel
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 <annabellesgraden@yahoo.de>
diff -ru rt1/kernel/time/clockevents.c rt1-kw/kernel/time/clockevents.c
--- rt1/kernel/time/clockevents.c 2006-06-20 21:39:21.000000000 +0200
+++ rt1-kw/kernel/time/clockevents.c 2006-06-21 17:25:50.000000000 +0200
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] 2.6.17-rt1 ommit an oops when suspending
2006-06-21 15:54 [PATCH] 2.6.17-rt1 ommit an oops when suspending Karsten Wiese
@ 2006-06-21 18:28 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2006-06-21 18:28 UTC (permalink / raw)
To: Karsten Wiese; +Cc: tglx, linux-kernel
* Karsten Wiese <annabellesgarden@yahoo.de> wrote:
> Hi
>
> with this applied my AMD64 suspended resumed successfully in
> PREEMPT_RT mode. Erm at least until now ;-) Takes longer than with
> mainline.
thanks, applied.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-21 18:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-21 15:54 [PATCH] 2.6.17-rt1 ommit an oops when suspending Karsten Wiese
2006-06-21 18:28 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®