Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * include/asm-i386/cache.h | |
3 | */ | |
4 | #ifndef __ARCH_I386_CACHE_H | |
5 | #define __ARCH_I386_CACHE_H | |
6 | ||
1da177e4 LT |
7 | |
8 | /* L1 cache line size */ | |
9 | #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT) | |
10 | #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) | |
11 | ||
804f1594 KM |
12 | #define __read_mostly __attribute__((__section__(".data.read_mostly"))) |
13 | ||
1da177e4 | 14 | #endif |