For multiprocessor targets, do the thread_exit routine such that we don't need to...
commit39c2020518a071f86d482faa4f53f730f903b20b
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Fri, 18 Jun 2010 03:10:18 +0000 (18 03:10 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Fri, 18 Jun 2010 03:10:18 +0000 (18 03:10 +0000)
tree3bc6a8e7e36e5f3fb9e429b331f15c769542d738
parent14ad8ab3145ebfaa3f9ef5f25b04bfc52843c9f6
For multiprocessor targets, do the thread_exit routine such that we don't need to rely on the compiler's good graces to have stack switching be reliable. Only needs a few asm instructions.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26906 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/thread-pp.c
firmware/thread.c