X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-i386%2Fcache.h;h=57c62f414158b378f6667fd26d1af95575e6030d;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=615911e5bd244e61a74ffe5d673054d6a7974a78;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/asm-i386/cache.h b/include/asm-i386/cache.h index 615911e5b..57c62f414 100644 --- a/include/asm-i386/cache.h +++ b/include/asm-i386/cache.h @@ -4,10 +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 __read_mostly __attribute__((__section__(".data.read_mostly"))) + #endif