kernel/vm: Use the proper definition for HAIKU_PHYSICAL_64_BIT.

The other one is technically "private".
This commit is contained in:
Augustin Cavalier 2024-10-18 18:02:15 -04:00
parent c04087a9af
commit 48c3df2246

View File

@ -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];