1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Sparmann 2010-06-20 12:34:08 +00:00
parent 7caf78848e
commit 43fa52aaca

View file

@ -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