X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsh64%2Fkernel%2Fswitchto.S;h=45b2d90eed7d1760847101ac052a825c222c12f4;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=24ef14c83be61230407d8ccfc36a9a0696085eb1;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/arch/sh64/kernel/switchto.S b/arch/sh64/kernel/switchto.S index 24ef14c83..45b2d90ee 100644 --- a/arch/sh64/kernel/switchto.S +++ b/arch/sh64/kernel/switchto.S @@ -27,7 +27,7 @@ sh64_switch_to: r5 - &next->thread Outgoing results - r2 - last (=prev) + r2 - last (=prev) : this just stays in r2 throughout Want to create a full (struct pt_regs) on the stack to allow backtracing functions to work. However, we only need to populate the callee-save @@ -188,7 +188,6 @@ sh64_switch_to: ! epilogue ld.l r15, 0, r18 ld.l r15, 4, r14 - ori r4, 0, r2 ! last = prev ptabs r18, tr0 movi FRAME_SIZE, r0 add r15, r0, r15