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

From: One Thousand Gnomes
Date: Wed Apr 16 2014 - 16:57:55 EST


> I'd say scrap (a) _unless_ we're going to add while (1) loops to all
> the architectures. Alternatively, we could just accept that
> machine_power_off() may return and deal with that case (iow, not
> crash) in generic code.

What would the right behaviour be

while(1);

isn't really nice behaviour on a modern device


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