aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/cache.h')
-rw-r--r--arch/mips/include/asm/cache.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h
index b4db69fbc40c..fc67947ed658 100644
--- a/arch/mips/include/asm/cache.h
+++ b/arch/mips/include/asm/cache.h
@@ -9,14 +9,9 @@
9#ifndef _ASM_CACHE_H 9#ifndef _ASM_CACHE_H
10#define _ASM_CACHE_H 10#define _ASM_CACHE_H
11 11
12#include <kmalloc.h>
13
14#define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT 12#define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT
15#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 13#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
16 14
17#define SMP_CACHE_SHIFT L1_CACHE_SHIFT
18#define SMP_CACHE_BYTES L1_CACHE_BYTES
19
20#define __read_mostly __attribute__((__section__(".data..read_mostly"))) 15#define __read_mostly __attribute__((__section__(".data..read_mostly")))
21 16
22#endif /* _ASM_CACHE_H */ 17#endif /* _ASM_CACHE_H */