Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

From: Sebastian Capella
Date: Thu Mar 20 2014 - 17:36:42 EST


Thanks Pavel and Alan for your comments!

I'll rework and try again.

Sebastian

On 20 March 2014 14:35, One Thousand Gnomes <gnomes@xxxxxxxxxxxxxxxxxxx> wrote:
>> if (pm_power_off)
>> pm_power_off();
>> }
>>
>> ## It really should do while (1) here.
>
> while(1)
> cpu_relax();
>
> or similar at minimum.
>
> Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/