diff options
author | 2016-09-17 06:43:38 +0000 | |
---|---|---|
committer | 2016-09-17 06:43:38 +0000 | |
commit | 1441c4840b3e89147c468c72faf13bec319762a0 (patch) | |
tree | 15e64b8d8cc2378d19fe748ad81f07cd98adc911 | |
parent | Document why <sys/core.h> is still needed (diff) | |
download | wireguard-openbsd-1441c4840b3e89147c468c72faf13bec319762a0.tar.xz wireguard-openbsd-1441c4840b3e89147c468c72faf13bec319762a0.zip |
remove duplicated CPUIDECX_PDCM use
ok mlarkin@
-rw-r--r-- | sys/arch/amd64/amd64/vmm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c index b3f76bad7df..5ba5a1cb5d8 100644 --- a/sys/arch/amd64/amd64/vmm.c +++ b/sys/arch/amd64/amd64/vmm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmm.c,v 1.84 2016/09/15 02:00:16 dlg Exp $ */ +/* $OpenBSD: vmm.c,v 1.85 2016/09/17 06:43:38 jsg Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -3797,7 +3797,6 @@ vmx_handle_cpuid(struct vcpu *vcpu) * direct cache access (CPUIDECX_DCA) * x2APIC (CPUIDECX_X2APIC) * apic deadline (CPUIDECX_DEADLINE) - * performance monitoring (CPUIDECX_PDCM) * timestamp (CPUID_TSC) * apic (CPUID_APIC) * psn (CPUID_PSN) @@ -3814,7 +3813,7 @@ vmx_handle_cpuid(struct vcpu *vcpu) CPUIDECX_VMX | CPUIDECX_DTES64 | CPUIDECX_DSCPL | CPUIDECX_SMX | CPUIDECX_CNXTID | CPUIDECX_SDBG | - CPUIDECX_XTPR | CPUIDECX_PDCM | + CPUIDECX_XTPR | CPUIDECX_PCID | CPUIDECX_DCA | CPUIDECX_X2APIC | CPUIDECX_DEADLINE); *rdx = curcpu()->ci_feature_flags & |