xref: /openbmc/linux/arch/mips/include/asm/cache.h (revision 393a7596)
1384740dcSRalf Baechle /*
2384740dcSRalf Baechle  * This file is subject to the terms and conditions of the GNU General Public
3384740dcSRalf Baechle  * License.  See the file "COPYING" in the main directory of this archive
4384740dcSRalf Baechle  * for more details.
5384740dcSRalf Baechle  *
6384740dcSRalf Baechle  * Copyright (C) 1997, 98, 99, 2000, 2003 Ralf Baechle
7384740dcSRalf Baechle  * Copyright (C) 1999 Silicon Graphics, Inc.
8384740dcSRalf Baechle  */
9384740dcSRalf Baechle #ifndef _ASM_CACHE_H
10384740dcSRalf Baechle #define _ASM_CACHE_H
11384740dcSRalf Baechle 
12ae5b0675SPaul Burton #include <kmalloc.h>
13ae5b0675SPaul Burton 
14384740dcSRalf Baechle #define L1_CACHE_SHIFT		CONFIG_MIPS_L1_CACHE_SHIFT
15384740dcSRalf Baechle #define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
16384740dcSRalf Baechle 
1733def849SJoe Perches #define __read_mostly __section(".data..read_mostly")
181befdd55SDavid Daney 
19*393a7596SJiaxun Yang extern void cache_noop(void);
20*393a7596SJiaxun Yang 
21384740dcSRalf Baechle #endif /* _ASM_CACHE_H */
22