Skip to content
Commit 9bd880a2 authored by Tiejun Chen's avatar Tiejun Chen Committed by Alexander Graf
Browse files

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: default avatarTiejun Chen <tiejun.chen@windriver.com>
[agraf: fix comment, commit message]
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 08c9a188
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment