diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-02-26 00:04:25 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-02-26 00:04:25 +0000 |
commit | 1915c1099431294ca9c43bc11fb1bfa41bbd83cc (patch) | |
tree | abf50b4d6148156c41e32d6aacb86b93f70b98f2 /firmware/thread.c | |
parent | 306aa7552a850f7f42ecf69efd4a3465e19368c9 (diff) | |
download | rockbox-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/thread.c')
-rw-r--r-- | firmware/thread.c | 2 |
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) | |||
769 | * probably a much better way to do this. */ | 769 | * probably a much better way to do this. */ |
770 | if (core == CPU) | 770 | if (core == CPU) |
771 | { | 771 | { |
772 | THREAD_CPU_INIT(core, &cores[CPU].threads[0]); | ||
773 | cores[CPU].threads[0].stack = stackbegin; | 772 | cores[CPU].threads[0].stack = stackbegin; |
774 | cores[CPU].threads[0].stack_size = (int)stackend - (int)stackbegin; | 773 | cores[CPU].threads[0].stack_size = (int)stackend - (int)stackbegin; |
775 | } else { | 774 | } else { |
776 | #if NUM_CORES > 1 /* This code path will not be run on single core targets */ | 775 | #if NUM_CORES > 1 /* This code path will not be run on single core targets */ |
777 | THREAD_CPU_INIT(core, &cores[COP].threads[0]); | ||
778 | cores[COP].threads[0].stack = cop_stackbegin; | 776 | cores[COP].threads[0].stack = cop_stackbegin; |
779 | cores[COP].threads[0].stack_size = | 777 | cores[COP].threads[0].stack_size = |
780 | (int)cop_stackend - (int)cop_stackbegin; | 778 | (int)cop_stackend - (int)cop_stackbegin; |