summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2014-03-10 05:03:51 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2014-03-10 05:03:51 +0000
commitdc985e047a0e7dc35b5dc811eb4bffa852432c44 (patch)
treecd3df78a00a20643ec45ffa40c893b1153a89064 /sys
parent35ec3b6ab4c1ee867d5a9e6d6ae1e9a7d5305e49 (diff)
acpi_saved_rsp was defined twice. The asm resume code was using the first
definition and the C part of the resume code was using the second. This manifested itself as mysterious reboot and stack corruption problems on resume. ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/acpi_wakecode.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/acpi_wakecode.S b/sys/arch/amd64/amd64/acpi_wakecode.S
index c9b264edd49..8bf022ce592 100644
--- a/sys/arch/amd64/amd64/acpi_wakecode.S
+++ b/sys/arch/amd64/amd64/acpi_wakecode.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_wakecode.S,v 1.27 2014/02/01 07:10:33 mlarkin Exp $ */
+/* $OpenBSD: acpi_wakecode.S,v 1.28 2014/03/10 05:03:50 mlarkin Exp $ */
/*
* Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org>
* Copyright (c) 2001 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
@@ -644,8 +644,6 @@ _ACPI_TRMP_LABEL(acpi_saved_rdi)
.quad 0
_ACPI_TRMP_LABEL(acpi_saved_rsp)
.quad 0
-_ACPI_TRMP_LABEL(acpi_saved_rsp)
- .quad 0
_ACPI_TRMP_LABEL(acpi_saved_r8)
.quad 0
_ACPI_TRMP_LABEL(acpi_saved_r9)