diff options
Diffstat (limited to 'arch/arm64/include/asm/sparsemem.h')
-rw-r--r-- | arch/arm64/include/asm/sparsemem.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/sparsemem.h b/arch/arm64/include/asm/sparsemem.h new file mode 100644 index 000000000..1f43fcc79 --- /dev/null +++ b/arch/arm64/include/asm/sparsemem.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_SPARSEMEM_H +#define __ASM_SPARSEMEM_H + +#ifdef CONFIG_SPARSEMEM +#define MAX_PHYSMEM_BITS CONFIG_ARM64_PA_BITS +#define SECTION_SIZE_BITS 30 +#endif + +#endif |