On Sun, 2007-03-25 at 16:34 +0000, Pavel Machek wrote: > > @@ -60,7 +60,7 @@ acpi_system_write_sleep(struct file *fil > > state = simple_strtoul(str, NULL, 0); > > #ifdef CONFIG_SOFTWARE_SUSPEND > > if (state == 4) { > > - error = software_suspend(); > > + error = pm_suspend(PM_SUSPEND_DISK); > > goto Done; > > } > > Is enter_state and pm_suspend equivalent? Why the change? Yeah, except that enter_state() has more argument checking. The change was just because I didn't see much point in having two entry points for the same thing and killed off software_suspend() completely. Don't really care. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm