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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354670
@ -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 New Issue
Block a user