mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-10 03:20:30 +01:00
There are many different formats in each header now, such as _ASM_XXX_H, __ASM_XXX_H, _ASM_RISCV_XXX_H, RISCV_XXX_H, etc., This patch tries to unify the format by using _ASM_RISCV_XXX_H, because the most header use it now. This patch also adds the conditional to the headers if they lost it. Signed-off-by: Zong Li <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
12 lines
263 B
C
12 lines
263 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _ASM_RISCV_SPARSEMEM_H
|
|
#define _ASM_RISCV_SPARSEMEM_H
|
|
|
|
#ifdef CONFIG_SPARSEMEM
|
|
#define MAX_PHYSMEM_BITS CONFIG_PA_BITS
|
|
#define SECTION_SIZE_BITS 27
|
|
#endif /* CONFIG_SPARSEMEM */
|
|
|
|
#endif /* _ASM_RISCV_SPARSEMEM_H */
|