From: brad Date: Thu, 16 Jan 2014 19:32:26 +0000 (+0000) Subject: Appease LLVM's integrated assembler. Matches the same code as it exists X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f4e26ef695214d82f5e72d45cc52cbda21eb0a4e;p=openbsd 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@ --- 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 * Copyright (c) 2001 Mitsuru IWASAKI @@ -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