From 43fa52aaca55e9637be5cbd8cf94af2c86e32846 Mon Sep 17 00:00:00 2001 From: Michael Sparmann Date: Sun, 20 Jun 2010 12:34:08 +0000 Subject: Also define STORAGE_ALIGN_ATTR if STORAGE_WANTS_ALIGN isn't defined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26984 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware') diff --git a/firmware/export/system.h b/firmware/export/system.h index 205e4bc058..5ac92e015d 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -344,6 +344,7 @@ static inline void cpucache_flush(void) /* Number of bytes in the last cacheline assuming buffer of size x is aligned */ #define STORAGE_OVERLAP(x) ((x) & (CACHEALIGN_SIZE - 1)) #else +#define STORAGE_ALIGN_ATTR #define STORAGE_ALIGN_DOWN(x) (x) #define STORAGE_PAD(x) (x) #define STORAGE_OVERLAP(x) 0 -- cgit v1.2.3