diff options
author | Michael Sparmann <theseven@rockbox.org> | 2010-06-20 12:34:08 +0000 |
---|---|---|
committer | Michael Sparmann <theseven@rockbox.org> | 2010-06-20 12:34:08 +0000 |
commit | 43fa52aaca55e9637be5cbd8cf94af2c86e32846 (patch) | |
tree | ba32b3ba77b19cfe7d8054547992250824df3f24 /firmware/export/system.h | |
parent | 7caf78848e44e3c7865cfe1643e5c0d520d26dca (diff) |
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
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r-- | firmware/export/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |