Skip to content

Commit

Permalink
[MERGE INTO OFFENDER] remove a callback when resuming cores
Browse files Browse the repository at this point in the history
Resuming secondary cores doesn't need a callback, remove it.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh committed Feb 1, 2024
1 parent b11b536 commit cb24cf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zephyr/lib/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ int cpu_enable_core(int id)
return 0;
}

k_smp_cpu_resume(id, secondary_init, NULL, true, false);
k_smp_cpu_resume(id, NULL, NULL, true, false);

return 0;
}
Expand Down Expand Up @@ -215,7 +215,7 @@ int cpu_enable_secondary_core(int id)
return 0;
}

k_smp_cpu_resume(id, secondary_init, NULL, true, false);
k_smp_cpu_resume(id, NULL, NULL, true, false);

return 0;
}
Expand Down

0 comments on commit cb24cf3

Please sign in to comment.