Skip to content

Commit f9007cc

Browse files
committed
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fix from Catalin Marinas: "Use memblock_alloc() instead of memblock_alloc_low() in request_standard_resources(), the latter being limited to the low 4G memory range on arm64" * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: replace memblock_alloc_low with memblock_alloc
2 parents c0b7f2a + 9e0a17d commit f9007cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ static void __init request_standard_resources(void)
217217

218218
num_standard_resources = memblock.memory.cnt;
219219
res_size = num_standard_resources * sizeof(*standard_resources);
220-
standard_resources = memblock_alloc_low(res_size, SMP_CACHE_BYTES);
220+
standard_resources = memblock_alloc(res_size, SMP_CACHE_BYTES);
221221
if (!standard_resources)
222222
panic("%s: Failed to allocate %zu bytes\n", __func__, res_size);
223223

0 commit comments

Comments
 (0)