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)
commite01bca2fc698d7f0626f0214001af523e18ad60b
tree02e13ae7c8f8f025e1d080c088277dbe0fb0bafe
parent6089ae0bd5e15fc150adce5bc694e87e00513825
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