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:
parent
7caf78848e
commit
43fa52aaca
1 changed files with 1 additions and 0 deletions
|
|
@ -344,6 +344,7 @@ static inline void cpucache_flush(void)
|
||||||
/* Number of bytes in the last cacheline assuming buffer of size x is aligned */
|
/* Number of bytes in the last cacheline assuming buffer of size x is aligned */
|
||||||
#define STORAGE_OVERLAP(x) ((x) & (CACHEALIGN_SIZE - 1))
|
#define STORAGE_OVERLAP(x) ((x) & (CACHEALIGN_SIZE - 1))
|
||||||
#else
|
#else
|
||||||
|
#define STORAGE_ALIGN_ATTR
|
||||||
#define STORAGE_ALIGN_DOWN(x) (x)
|
#define STORAGE_ALIGN_DOWN(x) (x)
|
||||||
#define STORAGE_PAD(x) (x)
|
#define STORAGE_PAD(x) (x)
|
||||||
#define STORAGE_OVERLAP(x) 0
|
#define STORAGE_OVERLAP(x) 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue