]> 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)
commit6f8f8aa9785bee73e00aaac319231fa47746abdf
tree02e13ae7c8f8f025e1d080c088277dbe0fb0bafe
parent6b7fcd3255131e031284c6102cd97135f25b4a9e
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