added code again, which got removed my big merge:-(
[linux-2.6/linux-mips.git] / include / asm-i386 / cache.h
blob50c1dbe8fedcc3fc0be78e93219a3cd00c646650
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 #endif