cobalt/sched: call irq_pipeline_send_remote to send TIMER_OOB_IPI
PATCH v3 2/7 cobalt/sched: call irq_pipeline_send_remote to send TIMER_OOB_IPI
call irq_pipeline_send_remote to send TIMER_OOB_IPI instead of ipipe_send_ipi
Signed-off-by hongzha1 <[email protected]>
--- kernel/cobalt/sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cobalt/sched.c +2 -2
@@ -937,8 +937,8 @@ static inline int test_resched(struct xnsched *sched)/* Send resched IPI to remote CPU(s). */ if (unlikely (!cpumask_empty (&sched->resched))) {smp_mb (); -#warning TODO -//ipipe_send_ipi(IPIPE_RESCHEDULE_IPI, sched->resched); +irq_pipeline_send_remote (TIMER_OOB_IPI , + &sched->resched);cpumask_clear (&sched->resched); }#endif
Signature · 1 line
2.17.1