* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / include / asm-arm / cache.h
blobd8f057be10d160019c1e7b5ddd76f68222019302
1 /*
2 * include/asm-i386/cache.h
3 */
4 #ifndef __ASMARM_CACHE_H
5 #define __ASMARM_CACHE_H
7 #define L1_CACHE_BYTES 32
8 #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
9 #define SMP_CACHE_BYTES L1_CACHE_BYTES
11 #ifdef MODULE
12 #define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES)))
13 #else
14 #define __cacheline_aligned \
15 __attribute__((__aligned__(L1_CACHE_BYTES), \
16 __section__(".data.cacheline_aligned")))
17 #endif
19 #endif