xref: /linux/arch/mips/include/asm/cache.h (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
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 #define L1_CACHE_SHIFT		CONFIG_MIPS_L1_CACHE_SHIFT
13 #define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
14 
15 #define __read_mostly __attribute__((__section__(".data..read_mostly")))
16 
17 #endif /* _ASM_CACHE_H */
18