kvm: x86: make kvm_{load|put}_guest_fpu() static
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 12 Sep 2018 13:33:45 +0000 (15:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Sep 2018 22:51:43 +0000 (00:51 +0200)
commit822f312d47f0200dc0999c9f006fe94aa43bd0bd
tree25cd8e112e6bf403f7312c90174eb22e1e5618ae
parenta1efa9b70097a7ebb7c0a10bb72648776771b281
kvm: x86: make kvm_{load|put}_guest_fpu() static

The functions
kvm_load_guest_fpu()
kvm_put_guest_fpu()

are only used locally, make them static. This requires also that both
functions are moved because they are used before their implementation.
Those functions were exported (via EXPORT_SYMBOL) before commit
e5bb40251a920 ("KVM: Drop kvm_{load,put}_guest_fpu() exports").

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c
include/linux/kvm_host.h