aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/arm64/mp_machdep.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2018-08-21 16:43:46 +0000
committerAlan Cox <alc@FreeBSD.org>2018-08-21 16:43:46 +0000
commit83a90bffd8d7374d27d8d63097c5205af7bfa4f6 (patch)
tree6fd9fe07cd62c30c56f6e8905513b36452116f13 /sys/arm64/arm64/mp_machdep.c
parentb1a90834bb25e04d883eb4ead99ca41d705e277f (diff)
downloadsrc-83a90bffd8d7374d27d8d63097c5205af7bfa4f6.tar.gz
src-83a90bffd8d7374d27d8d63097c5205af7bfa4f6.zip
Eliminate kmem_malloc()'s unused arena parameter. (The arena parameter
became unused in FreeBSD 12.x as a side-effect of the NUMA-related changes.) Reviewed by: kib, markj Discussed with: jeff, re@ Differential Revision: https://reviews.freebsd.org/D16825
Notes
Notes: svn path=/head/; revision=338143
Diffstat (limited to 'sys/arm64/arm64/mp_machdep.c')
-rw-r--r--sys/arm64/arm64/mp_machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arm64/arm64/mp_machdep.c b/sys/arm64/arm64/mp_machdep.c
index ad97195cb864..a3f096f60717 100644
--- a/sys/arm64/arm64/mp_machdep.c
+++ b/sys/arm64/arm64/mp_machdep.c
@@ -484,8 +484,7 @@ start_cpu(u_int id, uint64_t target_cpu)
pcpup = &__pcpu[cpuid];
pcpu_init(pcpup, cpuid, sizeof(struct pcpu));
- dpcpu[cpuid - 1] = (void *)kmem_malloc(kernel_arena, DPCPU_SIZE,
- M_WAITOK | M_ZERO);
+ dpcpu[cpuid - 1] = (void *)kmem_malloc(DPCPU_SIZE, M_WAITOK | M_ZERO);
dpcpu_init(dpcpu[cpuid - 1], cpuid);
printf("Starting CPU %u (%lx)\n", cpuid, target_cpu);