]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: fix a prototype warning
authorPeng Hao <peng.hao2@zte.com.cn>
Fri, 6 Apr 2018 21:47:32 +0000 (05:47 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 6 Apr 2018 16:20:31 +0000 (18:20 +0200)
commitad6d5de247ce282858504ef4162f195f146e3732
tree02e13ae7c8f8f025e1d080c088277dbe0fb0bafe
parentf2ca297ba733215e5ec4990f11360faf77c5d030
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>
arch/x86/kvm/vmx.c