diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2010-06-26 04:05:33 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2010-06-26 04:05:33 +0000 |
commit | 712bc10ae519f68b9e91af9fb2496f43babafbb8 (patch) | |
tree | cfd3bb446567387d07e1311097036a29b8341fcb | |
parent | 7e6dd095a94b39207eff7569000262094cc80685 (diff) |
Fix 100% interrupt usage on amd64 MP resume.
ok kettenis@, pirofti@, marco@
-rw-r--r-- | sys/arch/amd64/amd64/acpi_machdep.c | 4 |
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); } |