summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-06-15 15:18:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-01 11:03:21 +0200
commit6edaa5307f3f51e4e56dc4c63f68a69d88c6ddf5 (patch)
tree8466e2bf1da7bdce8bcbe1d728003422e6faa6da /include
parentebaac1736245e78109cd47d453a86a18dcfc94b8 (diff)
downloadlinux-6edaa5307f3f51e4e56dc4c63f68a69d88c6ddf5.tar.bz2
KVM: remove kvm_guest_enter/exit wrappers
Use the functions from context_tracking.h directly. Cc: Andy Lutomirski <luto@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Rik van Riel <riel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm_host.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index ffff40522688..66b2f6159aad 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -875,28 +875,6 @@ static inline void kvm_iommu_unmap_pages(struct kvm *kvm,
}
#endif
-/* must be called with irqs disabled */
-static inline void __kvm_guest_enter(void)
-{
- guest_enter_irqoff();
-}
-
-/* must be called with irqs disabled */
-static inline void __kvm_guest_exit(void)
-{
- guest_exit_irqoff();
-}
-
-static inline void kvm_guest_enter(void)
-{
- guest_enter();
-}
-
-static inline void kvm_guest_exit(void)
-{
- guest_exit();
-}
-
/*
* search_memslots() and __gfn_to_memslot() are here because they are
* used in non-modular code in arch/powerpc/kvm/book3s_hv_rm_mmu.c.