summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2018-02-12 00:59:28 +0000
committermlarkin <mlarkin@openbsd.org>2018-02-12 00:59:28 +0000
commitc66ecf39250ad871006a009d1eeaff02db1b03e1 (patch)
tree8df6d1ccadb684f8ff79a0fef85ca85d26a332a7
parent; ends c statements, not ;; (diff)
downloadwireguard-openbsd-c66ecf39250ad871006a009d1eeaff02db1b03e1.tar.xz
wireguard-openbsd-c66ecf39250ad871006a009d1eeaff02db1b03e1.zip
Typo in a comment (CR$_VMXE instead of CR4_VMXE). No functional change.
-rw-r--r--sys/arch/amd64/amd64/vmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c
index f5a6fc0dd91..2993abf6af8 100644
--- a/sys/arch/amd64/amd64/vmm.c
+++ b/sys/arch/amd64/amd64/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.183 2018/02/02 08:24:28 pd Exp $ */
+/* $OpenBSD: vmm.c,v 1.184 2018/02/12 00:59:28 mlarkin Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -2571,7 +2571,7 @@ vcpu_reset_regs_vmx(struct vcpu *vcpu, struct vcpu_reg_state *vrs)
* Determine which bits in CR4 have to be set to a fixed
* value as per Intel SDM A.8.
* CR4 bits in the vrs parameter must match these, except
- * CR$_VMXE - we add that here since it must always be set.
+ * CR4_VMXE - we add that here since it must always be set.
*/
want1 = (curcpu()->ci_vmm_cap.vcc_vmx.vmx_cr4_fixed0) &
(curcpu()->ci_vmm_cap.vcc_vmx.vmx_cr4_fixed1);