X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-i386%2Fcache.h;h=57c62f414158b378f6667fd26d1af95575e6030d;hb=refs%2Fheads%2Fvserver;hp=849788710feb33fcecc22d695b8df92bbf44a06a;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-i386/cache.h b/include/asm-i386/cache.h index 849788710..57c62f414 100644 --- a/include/asm-i386/cache.h +++ b/include/asm-i386/cache.h @@ -4,12 +4,11 @@ #ifndef __ARCH_I386_CACHE_H #define __ARCH_I386_CACHE_H -#include /* L1 cache line size */ #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT) #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) -#define L1_CACHE_SHIFT_MAX 7 /* largest L1 which this arch supports */ +#define __read_mostly __attribute__((__section__(".data.read_mostly"))) #endif