Linux-2.3.3 and a short hiatus..
[davej-history.git] / include / asm-i386 / cache.h
blobcea6c85409f1857b75567c541495f52f20a1a498
1 /*
2 * include/asm-i386/cache.h
3 */
4 #ifndef __ARCH_I386_CACHE_H
5 #define __ARCH_I386_CACHE_H
7 /* bytes per L1 cache line */
8 #if CPU==586 || CPU==686
9 #define L1_CACHE_BYTES 32
10 #else
11 #define L1_CACHE_BYTES 16
12 #endif
14 #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
16 #define SMP_CACHE_BYTES L1_CACHE_BYTES
18 #endif