summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-01-16 19:32:27 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-01-16 19:32:27 +0000
commit846bcd5e86ca6c15e6e18d888d286536572b565a (patch)
tree68e7ef461b88118ea1b8946460637c6513087cd6 /sys/arch/amd64
parent4971372d6ae1ec5e34dd87c7d07112690e34f41c (diff)
Appease LLVM's integrated assembler. Matches the same code as it exists
for i386. error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq') ok mlarkin@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/acpi_wakecode.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/acpi_wakecode.S b/sys/arch/amd64/amd64/acpi_wakecode.S
index 670568eb4ed..55da9b2c4a4 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.24 2014/01/10 22:34:41 mlarkin Exp $ */
+/* $OpenBSD: acpi_wakecode.S,v 1.25 2014/01/16 19:32:26 brad Exp $ */
/*
* Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org>
* Copyright (c) 2001 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
@@ -131,7 +131,7 @@ _ACPI_TRMP_OFFSET(acpi_s3_vector_real)
* laptops), we might not restore the proper VGA mode
* on resume. Caveat emptor.
*/
- cmp $0, do_real_mode_post_off
+ cmpl $0, do_real_mode_post_off
jz nobiosreset
lcall $0xc000,$3