summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/bookehv_interrupts.S
diff options
context:
space:
mode:
authorAlexander Graf2012-02-20 12:39:36 +0100
committerAvi Kivity2012-04-08 11:55:21 +0200
commit55cdf08b9a6c99f1335fa6ad42372dcfb3715b56 (patch)
tree783ad8eb83b33f66a04982da64075e7cf06810d7 /arch/powerpc/kvm/bookehv_interrupts.S
parentKVM: PPC: booke: add GS documentation for program interrupt (diff)
downloadkernel-qcow2-linux-55cdf08b9a6c99f1335fa6ad42372dcfb3715b56.tar.gz
kernel-qcow2-linux-55cdf08b9a6c99f1335fa6ad42372dcfb3715b56.tar.xz
kernel-qcow2-linux-55cdf08b9a6c99f1335fa6ad42372dcfb3715b56.zip
KVM: PPC: bookehv: remove unused code
There was some unused code in the exit code path that must have been a leftover from earlier iterations. While it did no harm, it's superfluous and thus should be removed. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/bookehv_interrupts.S')
-rw-r--r--arch/powerpc/kvm/bookehv_interrupts.S7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/kvm/bookehv_interrupts.S b/arch/powerpc/kvm/bookehv_interrupts.S
index 3a1db909947f..2d1f56cad48c 100644
--- a/arch/powerpc/kvm/bookehv_interrupts.S
+++ b/arch/powerpc/kvm/bookehv_interrupts.S
@@ -91,10 +91,6 @@
PPC_STL r9, VCPU_TIMING_EXIT_TBU(r4)
#endif
- .if \flags & NEED_EMU
- lwz r9, VCPU_KVM(r4)
- .endif
-
oris r8, r6, MSR_CE@h
#ifdef CONFIG_64BIT
std r6, (VCPU_SHARED_MSR)(r11)
@@ -112,9 +108,6 @@
* appropriate for the exception type).
*/
cmpw r6, r8
- .if \flags & NEED_EMU
- lwz r9, KVM_LPID(r9)
- .endif
beq 1f
mfmsr r7
.if \srr0 != SPRN_MCSRR0 && \srr0 != SPRN_CSRR0