diff options
-rw-r--r-- | kern/sched_prim.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/kern/sched_prim.c b/kern/sched_prim.c index 96fabf59..63a0437c 100644 --- a/kern/sched_prim.c +++ b/kern/sched_prim.c @@ -1330,17 +1330,12 @@ void thread_setrun( /* * Cause ast on processor if processor is on line. - * - * XXX Don't do this remotely to master because this will - * XXX send an interprocessor interrupt, and that's too - * XXX expensive for all the unparallelized U*x code. */ if (processor == current_processor()) { ast_on(cpu_number(), AST_BLOCK); } - else if ((processor != master_processor) && - (processor->state != PROCESSOR_OFF_LINE)) { - cause_ast_check(processor); + else if ((processor->state != PROCESSOR_OFF_LINE)) { + cause_ast_check(processor); } } #else /* NCPUS > 1 */ |