summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-21 09:43:28 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-21 09:43:28 +0000
commita4058aa94e3f9a82171f47fb90b2649c96999974 (patch)
tree4985cab5927065ef380ac0656c3e099d8a613152
parent7c594d6ea16edbd2d276bf18baad2bd2a176b9af (diff)
downloadrockbox-a4058aa94e3f9a82171f47fb90b2649c96999974.tar.gz
rockbox-a4058aa94e3f9a82171f47fb90b2649c96999974.tar.bz2
rockbox-a4058aa94e3f9a82171f47fb90b2649c96999974.zip
The interrupt disable is only relevant on multicore targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15241 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index 7b9982be01..896cc0fb3d 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -2387,7 +2387,9 @@ void thread_thaw(struct thread_entry *thread)
}
UNLOCK_THREAD_SET_STATE(thread, STATE_RUNNING);
+#if NUM_CORES > 1
set_irq_level(oldlevel);
+#endif
return;
}