diff options
author | Tiejun Chen <tiejun.chen@windriver.com> | 2013-10-23 09:26:48 +0800 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-01-09 10:15:10 +0100 |
commit | 9bd880a2c882d2181b1eaba0aed422cced8f0e8a (patch) | |
tree | 04d627755115ed0d56e2538f0c7436dd0fff60c3 /kernel/smpboot.h | |
parent | 08c9a188d0d0fc0f0c5e17d89a06bb59c493110f (diff) | |
download | op-kernel-dev-9bd880a2c882d2181b1eaba0aed422cced8f0e8a.zip op-kernel-dev-9bd880a2c882d2181b1eaba0aed422cced8f0e8a.tar.gz |
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>
Diffstat (limited to 'kernel/smpboot.h')
0 files changed, 0 insertions, 0 deletions