diff options
Diffstat (limited to 'cpukit/score/cpu/powerpc/ppc-context-validate.S')
-rw-r--r-- | cpukit/score/cpu/powerpc/ppc-context-validate.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/powerpc/ppc-context-validate.S b/cpukit/score/cpu/powerpc/ppc-context-validate.S index 65f78c594c..ecf84d6eb8 100644 --- a/cpukit/score/cpu/powerpc/ppc-context-validate.S +++ b/cpukit/score/cpu/powerpc/ppc-context-validate.S @@ -82,7 +82,7 @@ _CPU_Context_validate: mtlr r4 addi r4, r3, 26 mtctr r4 - addi r4, r3, 27 + rlwinm r4, r3, 0, 25, 2 mtxer r4 addi r0, r3, 28 @@ -215,7 +215,7 @@ check: mfctr r5 cmpw r4, r5 bne restore - addi r4, r3, 27 + rlwinm r4, r3, 0, 25, 2 mfxer r5 cmpw r4, r5 bne restore |