diff options
author | Scott Wood <scottwood@freescale.com> | 2013-07-11 00:47:39 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-07-11 00:51:28 +0200 |
commit | 5f1c248f52c12e155e0fe6a614178181f7629901 (patch) | |
tree | 5511621f99d718a507f6aa337870503576dce851 /arch/powerpc/kvm/powerpc.c | |
parent | KVM: PPC: Book3S HV: Allow negative offsets to real-mode hcall handlers (diff) | |
download | linux-5f1c248f52c12e155e0fe6a614178181f7629901.tar.xz linux-5f1c248f52c12e155e0fe6a614178181f7629901.zip |
kvm/ppc: Call trace_hardirqs_on before entry
Currently this is only being done on 64-bit. Rather than just move it
out of the 64-bit ifdef, move it to kvm_lazy_ee_enable() so that it is
consistent with lazy ee state, and so that we don't track more host
code as interrupts-enabled than necessary.
Rename kvm_lazy_ee_enable() to kvm_fix_ee_before_entry() to reflect
that this function now has a role on 32-bit as well.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/powerpc.c')
-rw-r--r-- | arch/powerpc/kvm/powerpc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index 6316ee336e88..4e05f8c693b4 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c @@ -117,8 +117,6 @@ int kvmppc_prepare_to_enter(struct kvm_vcpu *vcpu) kvm_guest_exit(); continue; } - - trace_hardirqs_on(); #endif kvm_guest_enter(); |