diff --git a/cpukit/score/cpu/m32r/ChangeLog b/cpukit/score/cpu/m32r/ChangeLog index aa584ae9e5..81b4994114 100644 --- a/cpukit/score/cpu/m32r/ChangeLog +++ b/cpukit/score/cpu/m32r/ChangeLog @@ -1,3 +1,7 @@ +2011-01-31 Joel Sherrill + + * context_switch.S: Reverse registers. + 2010-10-21 Joel Sherrill * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to diff --git a/cpukit/score/cpu/m32r/context_switch.S b/cpukit/score/cpu/m32r/context_switch.S index 10baac910d..dd95a461fb 100644 --- a/cpukit/score/cpu/m32r/context_switch.S +++ b/cpukit/score/cpu/m32r/context_switch.S @@ -65,5 +65,5 @@ restore: .global _CPU_Context_Restart_self .type _CPU_Context_Restart_self, @function _CPU_Context_Restart_self: - mv r0, r1 + mv r1, r0 bra restore