xref: /openbmc/linux/arch/loongarch/include/asm/cache.h (revision 84cc6674)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
4  */
5 #ifndef _ASM_CACHE_H
6 #define _ASM_CACHE_H
7 
8 #define L1_CACHE_SHIFT		CONFIG_L1_CACHE_SHIFT
9 #define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
10 
11 #define __read_mostly __section(".data..read_mostly")
12 
13 #endif /* _ASM_CACHE_H */
14