summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index 9412801b8c9..8fde0558fc6 100644
--- a/sys/arch/amd64/amd64/acpi_machdep.c
+++ b/sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.35 2010/04/20 22:08:17 tedu Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.36 2010/06/26 04:05:32 mlarkin Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -304,6 +304,8 @@ acpi_resume_machdep(void)
pcb->pcb_rsp = (u_int64_t)sf;
pcb->pcb_rbp = 0;
+ ci->ci_idepth = 0;
+
ci->ci_flags &= ~CPUF_PRESENT;
cpu_start_secondary(ci);
}