summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-25 23:32:29 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-25 23:32:29 +0000
commite108d571ba6d74552f679c7251df4d0e85c5fd00 (patch)
tree05cc862684802a3d783ad99f3ec6641df82769bf
parent2109a0278cd2cb9b079268a9f064390b7485033b (diff)
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25338 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/mpegplayer/disk_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/disk_buf.c b/apps/plugins/mpegplayer/disk_buf.c
index defd8ef81d..4f37bfa5bf 100644
--- a/apps/plugins/mpegplayer/disk_buf.c
+++ b/apps/plugins/mpegplayer/disk_buf.c
@@ -859,7 +859,7 @@ bool disk_buf_init(void)
if (disk_buf.start == NULL)
return false;
-#ifdef PROC_NEEDS_CACHEALIGN
+#if NUM_CORES > 1
CACHEALIGN_BUFFER(disk_buf.start, disk_buf.size);
disk_buf.start = UNCACHED_ADDR(disk_buf.start);
#endif