From f4e26ef695214d82f5e72d45cc52cbda21eb0a4e Mon Sep 17 00:00:00 2001 From: brad Date: Thu, 16 Jan 2014 19:32:26 +0000 Subject: [PATCH] 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@ --- sys/arch/amd64/amd64/acpi_wakecode.S | 4 ++-- 1 file 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 * 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 -- 2.20.1