diff options
author | 2023-10-05 10:05:51 +0200 | |
---|---|---|
committer | 2023-10-05 10:05:51 +0200 | |
commit | 3fc18b06b8f3408951b5e43548f22984412b0831 (patch) | |
tree | 5d509acc9a9010aae791cdba9e9f6a02e94b962c /arch/loongarch/kernel/numa.c | |
parent | x86: Make IA32_EMULATION boot time configurable (diff) | |
parent | Linux 6.6-rc4 (diff) | |
download | linux-3fc18b06b8f3408951b5e43548f22984412b0831.tar.gz linux-3fc18b06b8f3408951b5e43548f22984412b0831.tar.bz2 linux-3fc18b06b8f3408951b5e43548f22984412b0831.zip |
Merge tag 'v6.6-rc4' into x86/entry, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/loongarch/kernel/numa.c')
-rw-r--r-- | arch/loongarch/kernel/numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/kernel/numa.c b/arch/loongarch/kernel/numa.c index c7d33c489e04..6e65ff12d5c7 100644 --- a/arch/loongarch/kernel/numa.c +++ b/arch/loongarch/kernel/numa.c @@ -436,7 +436,7 @@ void __init paging_init(void) void __init mem_init(void) { - high_memory = (void *) __va(get_num_physpages() << PAGE_SHIFT); + high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); memblock_free_all(); } |