Skip to content

Commit 8b91904

Browse files
committed
arch: arm64: replace "master" terminology with "primary"
Use inclusive language for referring to primary core Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 2a43a94 commit 8b91904

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/arm64/core/smp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ void arch_cpu_start(int cpu_num, k_thread_stack_t *stack, int sz,
7272
int cpu_count;
7373
static int i;
7474
uint64_t cpu_mpid = 0;
75-
uint64_t master_core_mpid;
75+
uint64_t primary_core_mpid;
7676

77-
/* Now it is on master core */
77+
/* Now it is on primary core */
7878
__ASSERT(arch_curr_cpu()->id == 0, "");
79-
master_core_mpid = MPIDR_TO_CORE(GET_MPIDR());
79+
primary_core_mpid = MPIDR_TO_CORE(GET_MPIDR());
8080

8181
cpu_count = ARRAY_SIZE(cpu_node_list);
8282

@@ -94,7 +94,7 @@ void arch_cpu_start(int cpu_num, k_thread_stack_t *stack, int sz,
9494
arm64_cpu_boot_params.cpu_num = cpu_num;
9595

9696
for (; i < cpu_count; i++) {
97-
if (cpu_node_list[i] == master_core_mpid) {
97+
if (cpu_node_list[i] == primary_core_mpid) {
9898
continue;
9999
}
100100

0 commit comments

Comments
 (0)