summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-02-26 00:04:25 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-02-26 00:04:25 +0000
commit1915c1099431294ca9c43bc11fb1bfa41bbd83cc (patch)
treeabf50b4d6148156c41e32d6aacb86b93f70b98f2 /firmware
parent306aa7552a850f7f42ecf69efd4a3465e19368c9 (diff)
downloadrockbox-1915c1099431294ca9c43bc11fb1bfa41bbd83cc.tar.gz
rockbox-1915c1099431294ca9c43bc11fb1bfa41bbd83cc.zip
Turns out I don't have a magic DAP. :( I didn't get the problem because I RoLod it. Clean the useless macros from thread_init and leave it for spawned threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12488 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/thread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index 05325bb341..2281f43e53 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -769,12 +769,10 @@ void init_threads(void)
* probably a much better way to do this. */
if (core == CPU)
{
- THREAD_CPU_INIT(core, &cores[CPU].threads[0]);
cores[CPU].threads[0].stack = stackbegin;
cores[CPU].threads[0].stack_size = (int)stackend - (int)stackbegin;
} else {
#if NUM_CORES > 1 /* This code path will not be run on single core targets */
- THREAD_CPU_INIT(core, &cores[COP].threads[0]);
cores[COP].threads[0].stack = cop_stackbegin;
cores[COP].threads[0].stack_size =
(int)cop_stackend - (int)cop_stackbegin;