Messages in this thread | | | Date | Fri, 1 Feb 2008 15:22:55 +0100 | From | Ingo Molnar <> | Subject | Re: sleepy linux self-test |
| |
* Pavel Machek <pavel@ucw.cz> wrote:
> index b8b2de3..222d22d 100644 > --- a/kernel/power/sleepy.c > +++ b/kernel/power/sleepy.c > @@ -31,7 +31,8 @@ int ksleepyd(void *data) > { > msleep(5000); > while (1) { > - set_alarm(5); > + if (set_alarm(5)) > + return -EFAULT; > pm_suspend(PM_SUSPEND_MEM); > msleep(500000);
could you send me a clean patch against mainline please? The above chunk didnt apply because there's no ksleepyd (only test_sleep()). Thanks,
Ingo
| |