summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-16 22:00:51 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-16 22:00:51 +0000
commit84f5c5c3e3590cb993f4cf2a7eba5979e3bc825b (patch)
treeb082d38196667f747bbcb9325dc65339d61b67b2 /apps/tagcache.c
parent28936603be8ab9c8c3e2284d835c3961b4033bfd (diff)
Take out some NOCACHEBSS_ATTR's that were accidentally left. Put some threading code in IRAM that should be there on PP502x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15155 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 2ed7574f3b..96c04bde89 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -88,7 +88,7 @@
#ifndef __PCTOOL__
/* Tag Cache thread. */
-static struct event_queue tagcache_queue NOCACHEBSS_ATTR;
+static struct event_queue tagcache_queue;
static long tagcache_stack[(DEFAULT_STACK_SIZE + 0x4000)/sizeof(long)];
static const char tagcache_thread_name[] = "tagcache";
#endif
@@ -152,7 +152,7 @@ struct tagcache_command_entry {
static struct tagcache_command_entry command_queue[TAGCACHE_COMMAND_QUEUE_LENGTH];
static volatile int command_queue_widx = 0;
static volatile int command_queue_ridx = 0;
-static struct mutex command_queue_mutex NOCACHEBSS_ATTR;
+static struct mutex command_queue_mutex;
/* Timestamp of the last added event, so we can wait a bit before committing the
* whole queue at once. */
static long command_queue_timestamp = 0;