mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
powerpc: Don't savectx() twice in IPI_STOP handler
We already save context in stoppcbs[] array, so there's no need to also save it in the PCB, it won't be used.
This commit is contained in:
parent
d0fa84f474
commit
56ee6bb943
1 changed files with 0 additions and 1 deletions
|
|
@ -331,7 +331,6 @@ powerpc_ipi_handler(void *arg)
|
|||
__func__);
|
||||
cpuid = PCPU_GET(cpuid);
|
||||
savectx(&stoppcbs[cpuid]);
|
||||
savectx(PCPU_GET(curpcb));
|
||||
CPU_SET_ATOMIC(cpuid, &stopped_cpus);
|
||||
while (!CPU_ISSET(cpuid, &started_cpus))
|
||||
cpu_spinwait();
|
||||
|
|
|
|||
Loading…
Reference in a new issue