Update tc_SPReg (as well as the stack pointer register) before and after
commit2f8b261657e63546e19784e14e71a1c47a857a70
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 24 Sep 2014 06:21:32 +0000 (24 06:21 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 24 Sep 2014 06:21:32 +0000 (24 06:21 +0000)
treeae9b0e8e5acf95d64b356eef2dfadca3373c06be
parent0d29030b265c315d94e3581b9855502db26e7434
Update tc_SPReg (as well as the stack pointer register) before and after
switching stack, for the benefit of anyone peeking the task structure
before the next context switch.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@49656 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/arm-all/exec/newstackswap.c
arch/i386-all/exec/newstackswap.c
arch/x86_64-all/exec/newstackswap.c