diff options
| -rw-r--r-- | arch/arm64/include/asm/cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cache.h b/arch/arm64/include/asm/cache.h index 88cc05b5f3ac..bde449936e2f 100644 --- a/arch/arm64/include/asm/cache.h +++ b/arch/arm64/include/asm/cache.h | |||
| @@ -32,6 +32,8 @@ | |||
| 32 | 32 | ||
| 33 | #ifndef __ASSEMBLY__ | 33 | #ifndef __ASSEMBLY__ |
| 34 | 34 | ||
| 35 | #define __read_mostly __attribute__((__section__(".data..read_mostly"))) | ||
| 36 | |||
| 35 | static inline int cache_line_size(void) | 37 | static inline int cache_line_size(void) |
| 36 | { | 38 | { |
| 37 | u32 cwg = cache_type_cwg(); | 39 | u32 cwg = cache_type_cwg(); |
