mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
kvm: x86: fix a prototype warning
Make the function static to avoid a
warning: no previous prototype for ‘vmx_enable_tdp’
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6089ae0bd5
commit
e01bca2fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -7223,7 +7223,7 @@ static void wakeup_handler(void)
|
|||
spin_unlock(&per_cpu(blocked_vcpu_on_cpu_lock, cpu));
|
||||
}
|
||||
|
||||
void vmx_enable_tdp(void)
|
||||
static void vmx_enable_tdp(void)
|
||||
{
|
||||
kvm_mmu_set_mask_ptes(VMX_EPT_READABLE_MASK,
|
||||
enable_ept_ad_bits ? VMX_EPT_ACCESS_BIT : 0ull,
|
||||
|
|
|
|||
Loading…
Reference in a new issue