forked from len0rd/rockbox
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
This commit is contained in:
parent
28b061d1e3
commit
4954bdf6d3
1 changed files with 3 additions and 3 deletions
|
|
@ -69,10 +69,10 @@ static long cores_locked IBSS_ATTR;
|
||||||
#define LOCK(...) do { } while (test_and_set(&cores_locked, 1))
|
#define LOCK(...) do { } while (test_and_set(&cores_locked, 1))
|
||||||
#define UNLOCK(...) cores_locked = 0
|
#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)
|
inline void lock_cores(void)
|
||||||
{
|
{
|
||||||
#if 1
|
#if 0
|
||||||
if (!cores[CURRENT_CORE].lock_issued)
|
if (!cores[CURRENT_CORE].lock_issued)
|
||||||
{
|
{
|
||||||
LOCK();
|
LOCK();
|
||||||
|
|
@ -83,7 +83,7 @@ inline void lock_cores(void)
|
||||||
|
|
||||||
inline void unlock_cores(void)
|
inline void unlock_cores(void)
|
||||||
{
|
{
|
||||||
#if 1
|
#if 0
|
||||||
if (cores[CURRENT_CORE].lock_issued)
|
if (cores[CURRENT_CORE].lock_issued)
|
||||||
{
|
{
|
||||||
cores[CURRENT_CORE].lock_issued = false;
|
cores[CURRENT_CORE].lock_issued = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue