]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0aaa66cdca8e3b6b184d751502ee864b500da261
treea3c5e049e0ee9345316f538ccc1acc19b0edbfe1
parent452ce037939014466172b1a47bd37f0d125b5b37
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