summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-04-30 13:43:30 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-05-07 11:28:21 +0200
commit0097d12e504b3ce57b68810737ad6a5a64a98c68 (patch)
tree806b73a1866d271ebe6ee2e7f9bdca3a73a51d62 /arch/arm
parentff7bbb9c6ab6e6620429daeff39424bbde1a94b4 (diff)
downloadop-kernel-dev-0097d12e504b3ce57b68810737ad6a5a64a98c68.zip
op-kernel-dev-0097d12e504b3ce57b68810737ad6a5a64a98c68.tar.gz
KVM: provide irq_unsafe kvm_guest_{enter|exit}
Several kvm architectures disable interrupts before kvm_guest_enter. kvm_guest_enter then uses local_irq_save/restore to disable interrupts again or for the first time. Lets provide underscore versions of kvm_guest_{enter|exit} that assume being called locked. kvm_guest_enter now disables interrupts for the full function and thus we can remove the check for preemptible. This patch then adopts s390/kvm to use local_irq_disable/enable calls which are slighty cheaper that local_irq_save/restore and call these new functions. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud