From 6c02c25405e93a37f456db762ecc793705c0532a Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Tue, 30 Oct 2007 17:39:07 +0900 Subject: [PATCH] --- yaml --- r: 73077 b: refs/heads/master c: 121fc47db6f4868890225e987447ee59a1e1c5b5 h: refs/heads/master i: 73075: 027f08f3f52414a4ee36206c7212eef0fb689970 v: v3 --- [refs] | 2 +- trunk/include/asm-sh/cache.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index cad93d646760..7a3f73ae33eb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 36b13d767ad68713ab498d71c8df78ca788bda63 +refs/heads/master: 121fc47db6f4868890225e987447ee59a1e1c5b5 diff --git a/trunk/include/asm-sh/cache.h b/trunk/include/asm-sh/cache.h index 0fe7cf9a0433..01e5cf51ba9b 100644 --- a/trunk/include/asm-sh/cache.h +++ b/trunk/include/asm-sh/cache.h @@ -19,6 +19,8 @@ #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) +#define __read_mostly __attribute__((__section__(".data.read_mostly"))) + #ifndef __ASSEMBLY__ struct cache_info { unsigned int ways; /* Number of cache ways */