aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-02-20 06:39:36 -0500
committerAvi Kivity <avi@redhat.com>2012-04-08 05:55:21 -0400
commit55cdf08b9a6c99f1335fa6ad42372dcfb3715b56 (patch)
tree783ad8eb83b33f66a04982da64075e7cf06810d7 /arch
parent0268597c811ccf55e0bda20907c1a9e6001365cf (diff)
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')
-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 @@
91 PPC_STL r9, VCPU_TIMING_EXIT_TBU(r4) 91 PPC_STL r9, VCPU_TIMING_EXIT_TBU(r4)
92#endif 92#endif
93 93
94 .if \flags & NEED_EMU
95 lwz r9, VCPU_KVM(r4)
96 .endif
97
98 oris r8, r6, MSR_CE@h 94 oris r8, r6, MSR_CE@h
99#ifdef CONFIG_64BIT 95#ifdef CONFIG_64BIT
100 std r6, (VCPU_SHARED_MSR)(r11) 96 std r6, (VCPU_SHARED_MSR)(r11)
@@ -112,9 +108,6 @@
112 * appropriate for the exception type). 108 * appropriate for the exception type).
113 */ 109 */
114 cmpw r6, r8 110 cmpw r6, r8
115 .if \flags & NEED_EMU
116 lwz r9, KVM_LPID(r9)
117 .endif
118 beq 1f 111 beq 1f
119 mfmsr r7 112 mfmsr r7
120 .if \srr0 != SPRN_MCSRR0 && \srr0 != SPRN_CSRR0 113 .if \srr0 != SPRN_MCSRR0 && \srr0 != SPRN_CSRR0