drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / riscv / include / asm / sparsemem.h
blob2f901a410586d0caa053e11129d062de4f2b9dfa
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef _ASM_RISCV_SPARSEMEM_H
4 #define _ASM_RISCV_SPARSEMEM_H
6 #ifdef CONFIG_SPARSEMEM
7 #ifdef CONFIG_64BIT
8 #define MAX_PHYSMEM_BITS 56
9 #else
10 #define MAX_PHYSMEM_BITS 32
11 #endif /* CONFIG_64BIT */
12 #define SECTION_SIZE_BITS 27
13 #endif /* CONFIG_SPARSEMEM */
15 #endif /* _ASM_RISCV_SPARSEMEM_H */