Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck...
[linux-2.6-microblaze.git] / arch / powerpc / kvm / book3s_segment.S
index 0169bab..1f492aa 100644 (file)
@@ -167,16 +167,9 @@ kvmppc_interrupt_pr:
         * R12             = (guest CR << 32) | exit handler id
         * R13             = PACA
         * HSTATE.SCRATCH0 = guest R12
-        * HSTATE.SCRATCH1 = guest CTR if RELOCATABLE
         */
 #ifdef CONFIG_PPC64
        /* Match 32-bit entry */
-#ifdef CONFIG_RELOCATABLE
-       std     r9, HSTATE_SCRATCH2(r13)
-       ld      r9, HSTATE_SCRATCH1(r13)
-       mtctr   r9
-       ld      r9, HSTATE_SCRATCH2(r13)
-#endif
        rotldi  r12, r12, 32              /* Flip R12 halves for stw */
        stw     r12, HSTATE_SCRATCH1(r13) /* CR is now in the low half */
        srdi    r12, r12, 32              /* shift trap into low half */