From 1915c1099431294ca9c43bc11fb1bfa41bbd83cc Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 26 Feb 2007 00:04:25 +0000 Subject: [PATCH] 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 --- firmware/thread.c | 2 -- 1 file changed, 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;