1
0
Fork 0
forked from len0rd/rockbox

Cleanup preprocessor around corelock usage and move its definition outside #ifdef ASSEMBLER_THREADS

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29330 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2011-02-19 00:09:08 +00:00
parent 8bc2801e7c
commit 70bb128ae9
3 changed files with 25 additions and 22 deletions

View file

@ -68,7 +68,9 @@ void (*tick_funcs[MAX_NUM_TICK_TASKS+1])(void);
static struct
{
struct event_queue *queues[MAX_NUM_QUEUES+1];
IF_COP( struct corelock cl; )
#ifdef HAVE_CORELOCK_OBJECT
struct corelock cl;
#endif
} all_queues SHAREDBSS_ATTR;
/****************************************************************************