|
Lines 500-507
smp_rendezvous_action(void)
Link Here
|
| 500 |
* function before moving on to the action function. |
500 |
* function before moving on to the action function. |
| 501 |
*/ |
501 |
*/ |
| 502 |
if (local_setup_func != smp_no_rendezvous_barrier) { |
502 |
if (local_setup_func != smp_no_rendezvous_barrier) { |
| 503 |
if (smp_rv_setup_func != NULL) |
503 |
if (local_setup_func != NULL) |
| 504 |
smp_rv_setup_func(smp_rv_func_arg); |
504 |
local_setup_func(local_func_arg); |
| 505 |
atomic_add_int(&smp_rv_waiters[1], 1); |
505 |
atomic_add_int(&smp_rv_waiters[1], 1); |
| 506 |
while (smp_rv_waiters[1] < smp_rv_ncpus) |
506 |
while (smp_rv_waiters[1] < smp_rv_ncpus) |
| 507 |
cpu_spinwait(); |
507 |
cpu_spinwait(); |