diff options
Diffstat (limited to 'arch/sh/include/asm/cache.h')
-rw-r--r-- | arch/sh/include/asm/cache.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sh/include/asm/cache.h b/arch/sh/include/asm/cache.h index 02df18ea9608..ef9e555aafba 100644 --- a/arch/sh/include/asm/cache.h +++ b/arch/sh/include/asm/cache.h | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) | 15 | #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) |
16 | 16 | ||
17 | #define __read_mostly __attribute__((__section__(".data.read_mostly"))) | 17 | #define __read_mostly __attribute__((__section__(".data..read_mostly"))) |
18 | 18 | ||
19 | #ifndef __ASSEMBLY__ | 19 | #ifndef __ASSEMBLY__ |
20 | struct cache_info { | 20 | struct cache_info { |
@@ -38,14 +38,10 @@ struct cache_info { | |||
38 | * 2. those in the physical page number. | 38 | * 2. those in the physical page number. |
39 | */ | 39 | */ |
40 | unsigned int alias_mask; | 40 | unsigned int alias_mask; |
41 | |||
42 | unsigned int n_aliases; /* Number of aliases */ | 41 | unsigned int n_aliases; /* Number of aliases */ |
43 | 42 | ||
44 | unsigned long flags; | 43 | unsigned long flags; |
45 | }; | 44 | }; |
46 | |||
47 | int __init detect_cpu_and_cache_system(void); | ||
48 | |||
49 | #endif /* __ASSEMBLY__ */ | 45 | #endif /* __ASSEMBLY__ */ |
50 | #endif /* __KERNEL__ */ | 46 | #endif /* __KERNEL__ */ |
51 | #endif /* __ASM_SH_CACHE_H */ | 47 | #endif /* __ASM_SH_CACHE_H */ |