From 2494afccc4d1e0dbd085c5b7ed5518815281b422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Wed, 23 Jun 2010 04:34:18 +0000 Subject: playback.c: don't assume cacheline size is 16 bytes ideally all targets should define CACHEALIGN_BITS, for now we default it to 16 bytes if it's not specified Since the buffer is already aligned in playback.c no need to align it again in buffering.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27073 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware') diff --git a/firmware/export/system.h b/firmware/export/system.h index 7a04422..fe8121c 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -304,7 +304,7 @@ static inline void cpucache_flush(void) /* 2^CACHEALIGN_BITS = the byte size */ #define CACHEALIGN_SIZE (1u << CACHEALIGN_BITS) #else -#define CACHEALIGN_SIZE sizeof(int) +#define CACHEALIGN_SIZE 16 /* FIXME */ #endif #endif /* CACHEALIGN_SIZE */ -- cgit v1.1