projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8176472
)
kvm: vmx: remove redundant parentheses
author
Peng Hao
<flyingpeng@tencent.com>
Mon, 28 Feb 2022 03:09:02 +0000
(11:09 +0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 13 Apr 2022 17:37:19 +0000
(13:37 -0400)
Remove redundant parentheses.
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Message-Id: <
20220228030902
.88465-1-flyingpeng@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/vmx/vmx.c
b/arch/x86/kvm/vmx/vmx.c
index c654c9d76e09bbd7e8f12992d0440c7617d69799..ef0aadb0ab3a34a8c7863bbd790dcf88877e0049 100644
(file)
--- a/
arch/x86/kvm/vmx/vmx.c
+++ b/
arch/x86/kvm/vmx/vmx.c
@@
-2444,7
+2444,7
@@
static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf,
&_cpu_based_exec_control) < 0)
return -EIO;
#ifdef CONFIG_X86_64
- if (
(_cpu_based_exec_control & CPU_BASED_TPR_SHADOW)
)
+ if (
_cpu_based_exec_control & CPU_BASED_TPR_SHADOW
)
_cpu_based_exec_control &= ~CPU_BASED_CR8_LOAD_EXITING &
~CPU_BASED_CR8_STORE_EXITING;
#endif