summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2023-07-27 16:33:57 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2023-07-27 16:33:57 +0000
commitb4397d913164ba9a2374113d400d8735c8d17fc1 (patch)
treea8cc1d326c9c7de17b0741317f54d83a3514eeb6 /sys/arch
parentd12474bf2035d60b0a637dd6a4c918ae74c6cbd5 (diff)
Fix off-by-one: SEFF0ECX_WAITPKG is bit 5, not bit 4.
ok mlarkin@ kettenis@ deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/include/specialreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/specialreg.h b/sys/arch/amd64/include/specialreg.h
index a5c516a8d3e..86ca64ea121 100644
--- a/sys/arch/amd64/include/specialreg.h
+++ b/sys/arch/amd64/include/specialreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: specialreg.h,v 1.106 2023/07/27 01:51:35 guenther Exp $ */
+/* $OpenBSD: specialreg.h,v 1.107 2023/07/27 16:33:56 guenther 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 $ */
@@ -237,7 +237,7 @@
#define SEFF0ECX_AVX512VBMI 0x00000002 /* AVX-512 vector bit inst */
#define SEFF0ECX_UMIP 0x00000004 /* UMIP support */
#define SEFF0ECX_PKU 0x00000008 /* Page prot keys for user mode */
-#define SEFF0ECX_WAITPKG 0x00000010 /* UMONITOR/UMWAIT/TPAUSE insns */
+#define SEFF0ECX_WAITPKG 0x00000020 /* UMONITOR/UMWAIT/TPAUSE insns */
#define SEFF0ECX_PKS 0x80000000 /* Page prot keys for sup mode */
/* SEFF EDX bits */
#define SEFF0EDX_AVX512_4FNNIW 0x00000004 /* AVX-512 neural network insns */