context_tracking: move rcu_virt_note_context_switch out of kvm_host.h
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2016 13:09:28 +0000 (15:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 28 Jun 2016 12:15:25 +0000 (14:15 +0200)
commitebaac1736245e78109cd47d453a86a18dcfc94b8
treea3c5e049e0ee9345316f538ccc1acc19b0edbfe1
parentfb6cec1492d6a693d33224487061e92d0275c6e2
context_tracking: move rcu_virt_note_context_switch out of kvm_host.h

Make kvm_guest_{enter,exit} and __kvm_guest_{enter,exit} trivial wrappers
around the code in context_tracking.h.  Name the context_tracking.h functions
consistently with what those for kernel<->user switch.

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>
include/linux/context_tracking.h
include/linux/kvm_host.h