]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0af55bf1b5d0926eb78f95b9c4be4c2cfe901572
tree25cd8e112e6bf403f7312c90174eb22e1e5618ae
parent41753ff1e9337a1a1f26946c5ee5b5b731d4fff7
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
fef5f39f1ff85 ("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