Commit 6a2e0923 authored by kernel test robot's avatar kernel test robot Committed by Paolo Bonzini

KVM: VMX: vmx_uret_msrs_list[] can be static

Fixes: 14a61b64 ("KVM: VMX: Rename "vmx_msr_index" to "vmx_uret_msrs_list"")
Signed-off-by: default avatarkernel test robot <lkp@intel.com>
Message-Id: <20200928153714.GA6285@a3a878002045>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 0c899c25
...@@ -457,7 +457,7 @@ static unsigned long host_idt_base; ...@@ -457,7 +457,7 @@ static unsigned long host_idt_base;
* support this emulation, IA32_STAR must always be included in * support this emulation, IA32_STAR must always be included in
* vmx_uret_msrs_list[], even in i386 builds. * vmx_uret_msrs_list[], even in i386 builds.
*/ */
const u32 vmx_uret_msrs_list[] = { static const u32 vmx_uret_msrs_list[] = {
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
MSR_SYSCALL_MASK, MSR_LSTAR, MSR_CSTAR, MSR_SYSCALL_MASK, MSR_LSTAR, MSR_CSTAR,
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment