diff options
-rw-r--r-- | arch/powerpc/kernel/head_8xx.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index 1bdd7c13ddc1..fafff8dbd5d9 100644 --- a/arch/powerpc/kernel/head_8xx.S +++ b/arch/powerpc/kernel/head_8xx.S | |||
@@ -644,9 +644,11 @@ modified_instr: | |||
644 | 644 | ||
645 | /* special handling for r10,r11 since these are modified already */ | 645 | /* special handling for r10,r11 since these are modified already */ |
646 | 153: mfspr r11, SPRN_SPRG_SCRATCH1 /* load r11 from SPRN_SPRG_SCRATCH1 */ | 646 | 153: mfspr r11, SPRN_SPRG_SCRATCH1 /* load r11 from SPRN_SPRG_SCRATCH1 */ |
647 | b 155f | 647 | add r10, r10, r11 /* add it */ |
648 | mfctr r11 /* restore r11 */ | ||
649 | b 151b | ||
648 | 154: mfspr r11, SPRN_SPRG_SCRATCH0 /* load r10 from SPRN_SPRG_SCRATCH0 */ | 650 | 154: mfspr r11, SPRN_SPRG_SCRATCH0 /* load r10 from SPRN_SPRG_SCRATCH0 */ |
649 | 155: add r10, r10, r11 /* add it */ | 651 | add r10, r10, r11 /* add it */ |
650 | mfctr r11 /* restore r11 */ | 652 | mfctr r11 /* restore r11 */ |
651 | b 151b | 653 | b 151b |
652 | #endif | 654 | #endif |