]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3E HV: call RECONCILE_IRQ_STATE to sync the software state
authorTiejun Chen <tiejun.chen@windriver.com>
Wed, 23 Oct 2013 01:26:48 +0000 (09:26 +0800)
committerAlexander Graf <agraf@suse.de>
Thu, 9 Jan 2014 09:15:10 +0000 (10:15 +0100)
commitf4c6605f18e6ee94e62f080ad72c27fd9b4623eb
tree04d627755115ed0d56e2538f0c7436dd0fff60c3
parenta4fb1a6c132d0d28a45e080ca795800453339e2e
KVM: PPC: Book3E HV: call RECONCILE_IRQ_STATE to sync the software state

Rather than calling hard_irq_disable() when we're back in C code
we can just call RECONCILE_IRQ_STATE to soft disable IRQs while
we're already in hard disabled state.

This should be functionally equivalent to the code before, but
cleaner and faster.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
[agraf: fix comment, commit message]
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/bookehv_interrupts.S