Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/loongarch/include/asm/cache.h
26488 views
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 ARCH_DMA_MINALIGN (16)
12
13
#define __read_mostly __section(".data..read_mostly")
14
15
#endif /* _ASM_CACHE_H */
16
17