From: Zhou Guanghui zhouguanghui1@huawei.com
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I63SDZ
-------------------
The ECC feature increases a maximum of 64 reserved physical memory segments, which increases the number of memblocks. So we make INIT_MEMBLOCK_REGIONS be 256.
Signed-off-by: Zhou Guanghui zhouguanghui1@huawei.com --- mm/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/memblock.c b/mm/memblock.c index e1fd07166a35..8abeb59c927d 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -22,7 +22,7 @@
#include "internal.h"
-#define INIT_MEMBLOCK_REGIONS 128 +#define INIT_MEMBLOCK_REGIONS 256 #define INIT_PHYSMEM_REGIONS 4
#ifndef INIT_MEMBLOCK_RESERVED_REGIONS