aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index f8482fe5a190..413d566405d1 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -217,7 +217,7 @@ static void __init request_standard_resources(void)
217 217
218 num_standard_resources = memblock.memory.cnt; 218 num_standard_resources = memblock.memory.cnt;
219 res_size = num_standard_resources * sizeof(*standard_resources); 219 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);
221 if (!standard_resources) 221 if (!standard_resources)
222 panic("%s: Failed to allocate %zu bytes\n", __func__, res_size); 222 panic("%s: Failed to allocate %zu bytes\n", __func__, res_size);
223 223