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

From: One Thousand Gnomes
Date: Thu Mar 20 2014 - 17:35:31 EST


> 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/