From 48c3df2246d17d667f32df88965cc3d9cc3809e4 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 18 Oct 2024 18:02:15 -0400 Subject: [PATCH] kernel/vm: Use the proper definition for HAIKU_PHYSICAL_64_BIT. The other one is technically "private". --- src/system/kernel/vm/vm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/vm/vm.cpp b/src/system/kernel/vm/vm.cpp index 55b3e76ff0..e47dfd047b 100644 --- a/src/system/kernel/vm/vm.cpp +++ b/src/system/kernel/vm/vm.cpp @@ -3627,7 +3627,7 @@ vm_allocate_early_physical_page_etc(kernel_args* args, phys_addr_t maxAddress) if (maxAddress == 0) maxAddress = __HAIKU_PHYS_ADDR_MAX; -#if defined(__HAIKU_ARCH_PHYSICAL_64_BIT) +#if defined(B_HAIKU_PHYSICAL_64_BIT) // Check if the last physical range is above the 32-bit maximum. const addr_range& lastMemoryRange = args->physical_memory_range[args->num_physical_memory_ranges - 1];