Displaying 1 result from an estimated 1 matches for "pm_softirq".
Did you mean:
do_softirq
2007 Jun 27
1
[PATCH 7/10] SMP support to Xen PM
...O, "vcpu0 on cpu0, sleep direclty\n");
+ ret = enter_state(acpi_sinfo.sleep_state);
+ thaw_domains();
+ return ret;
+ }
+
+ pmprintk(XENLOG_INFO, "vcpu0 on cpu%d, pause self and notify
cpu0\n",
+ current->processor);
+ cpu_raise_softirq(0, PM_SOFTIRQ);
+ vcpu_pause_self();
+ /* return value doens''t matter here. */
+ return 0;
}
static int acpi_get_wake_status(void)
@@ -250,6 +314,51 @@ acpi_status asmlinkage acpi_enter_sleep_
/* Wait until we enter sleep state, and spin until we wake */
while (!acpi_get_wake_stat...