diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2007-04-01 11:47:58 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2007-04-01 11:47:58 +0000 |
| commit | 4954bdf6d3cc8c391f35bfc7dce0b9f4d6a46e16 (patch) | |
| tree | b2276030f0bc5c532d34a8922093802a6e173f63 | |
| parent | 28b061d1e38d2cf5a8a63e431b521051dded123a (diff) | |
| download | rockbox-4954bdf6d3cc8c391f35bfc7dce0b9f4d6a46e16.zip rockbox-4954bdf6d3cc8c391f35bfc7dce0b9f4d6a46e16.tar.gz rockbox-4954bdf6d3cc8c391f35bfc7dce0b9f4d6a46e16.tar.bz2 rockbox-4954bdf6d3cc8c391f35bfc7dce0b9f4d6a46e16.tar.xz | |
Accidentally enabled core locking mechanism. Now disabled again because it still causes problems on some players.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12989 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index a1c45bb..a803e4f 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -69,10 +69,10 @@ static long cores_locked IBSS_ATTR; #define LOCK(...) do { } while (test_and_set(&cores_locked, 1)) #define UNLOCK(...) cores_locked = 0 -//#warning "Core locking mechanism should be fixed on H10/4G!" +#warning "Core locking mechanism should be fixed on H10/4G!" inline void lock_cores(void) { -#if 1 +#if 0 if (!cores[CURRENT_CORE].lock_issued) { LOCK(); @@ -83,7 +83,7 @@ inline void lock_cores(void) inline void unlock_cores(void) { -#if 1 +#if 0 if (cores[CURRENT_CORE].lock_issued) { cores[CURRENT_CORE].lock_issued = false; |