Commit c93eb125 authored by zhangtianyang's avatar zhangtianyang Committed by Hongchen Zhang
Browse files

LoongArch: Adapted SECTION_SIZE_BITS with page size

LoongArch inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I6BWFP



--------------------------------

Signed-off-by: default avatarzhangtianyang <zhangtianyang@loongson.cn>
parent f1e6c574
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
 * SECTION_SIZE_BITS		2^N: how big each section will be
 * MAX_PHYSMEM_BITS		2^N: how much memory we can have in that space
 */
#define SECTION_SIZE_BITS	29 /* 2^29 = Largest Huge Page Size */
#define SECTION_SIZE_BITS	28
#define MAX_PHYSMEM_BITS	48

#ifdef CONFIG_SPARSEMEM_VMEMMAP