* add p cc
[mascara-docs.git] / i386 / linux / linux-2.3.21 / include / asm-m68k / cache.h
blob9e009ce181d0ffe867a422fb00d84f7edaf14953
1 /*
2 * include/asm-m68k/cache.h
3 */
4 #ifndef __ARCH_M68K_CACHE_H
5 #define __ARCH_M68K_CACHE_H
7 /* bytes per L1 cache line */
8 #define L1_CACHE_BYTES 16
10 #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
12 #define SMP_CACHE_BYTES L1_CACHE_BYTES
14 #ifdef MODULE
15 #define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES)))
16 #else
17 #define __cacheline_aligned \
18 __attribute__((__aligned__(L1_CACHE_BYTES), \
19 __section__(".data.cacheline_aligned")))
20 #endif
22 #endif