diff options
author | 2018-02-22 20:18:59 +0000 | |
---|---|---|
committer | 2018-02-22 20:18:59 +0000 | |
commit | 2b23a462c5b2aa05e14d0941ed4d5ca4a2bd681b (patch) | |
tree | aa8dc41b8a9d349007654ca95936707e68c695e0 | |
parent | sync (diff) | |
download | wireguard-openbsd-2b23a462c5b2aa05e14d0941ed4d5ca4a2bd681b.tar.xz wireguard-openbsd-2b23a462c5b2aa05e14d0941ed4d5ca4a2bd681b.zip |
The GNU assembler does not understand 1ULL, so replace the constant
with 1. Then it compiles with gcc, sign and size do not matter
here.
OK mlarkin@
-rw-r--r-- | sys/arch/amd64/include/specialreg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/specialreg.h b/sys/arch/amd64/include/specialreg.h index b7aa6e7a4d6..134870742f7 100644 --- a/sys/arch/amd64/include/specialreg.h +++ b/sys/arch/amd64/include/specialreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: specialreg.h,v 1.68 2018/02/21 19:24:15 guenther Exp $ */ +/* $OpenBSD: specialreg.h,v 1.69 2018/02/22 20:18:59 bluhm Exp $ */ /* $NetBSD: specialreg.h,v 1.1 2003/04/26 18:39:48 fvdl Exp $ */ /* $NetBSD: x86/specialreg.h,v 1.2 2003/04/25 21:54:30 fvdl Exp $ */ @@ -353,7 +353,7 @@ #define MTRRcap_WC 0x400 /* bit 10 - WC type supported */ #define MTRRcap_SMRR 0x800 /* bit 11 - SMM range reg supported */ #define MSR_ARCH_CAPABILITIES 0x10a -#define ARCH_CAPABILITIES_RDCL_NO (1ULL << 0) /* Meltdown safe */ +#define ARCH_CAPABILITIES_RDCL_NO (1 << 0) /* Meltdown safe */ #define MSR_BBL_CR_ADDR 0x116 /* PII+ only */ #define MSR_BBL_CR_DECC 0x118 /* PII+ only */ #define MSR_BBL_CR_CTL 0x119 /* PII+ only */ |