diff options
Diffstat (limited to 'arch/mips/include/asm/cache.h')
-rw-r--r-- | arch/mips/include/asm/cache.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h new file mode 100644 index 00000000000..37f175c42bb --- /dev/null +++ b/arch/mips/include/asm/cache.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 1997, 98, 99, 2000, 2003 Ralf Baechle | ||
7 | * Copyright (C) 1999 Silicon Graphics, Inc. | ||
8 | */ | ||
9 | #ifndef _ASM_CACHE_H | ||
10 | #define _ASM_CACHE_H | ||
11 | |||
12 | #include <kmalloc.h> | ||
13 | |||
14 | #define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT | ||
15 | #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) | ||
16 | |||
17 | #define SMP_CACHE_SHIFT L1_CACHE_SHIFT | ||
18 | #define SMP_CACHE_BYTES L1_CACHE_BYTES | ||
19 | |||
20 | #endif /* _ASM_CACHE_H */ | ||