| 1 |
|
| 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
|