diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips64/cache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-mips64/cache.h b/include/asm-mips64/cache.h index c05688a72..9c50dff97 100644 --- a/include/asm-mips64/cache.h +++ b/include/asm-mips64/cache.h @@ -10,8 +10,9 @@ #ifndef _ASM_CACHE_H #define _ASM_CACHE_H +#include <linux/config.h> + /* bytes per L1 cache line */ -#define L1_CACHE_BYTES 32 /* A guess */ -#define SMP_CACHE_BYTES L1_CACHE_BYTES +#define L1_CACHE_BYTES (1 << CONFIG_L1_CACHE_SHIFT) #endif /* _ASM_CACHE_H */ |