Skip to contentSkip to conversation

cobalt/sched: call irq_pipeline_send_remote to send TIMER_OOB_IPI

PATCH New hongzha1 1 participant 1 message Oct 29, 2020

lore
Share & tools
lore

hongzha1

author
#0 lore raw

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

---
 kernel/cobalt/sched.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cobalt/sched.c +2 -2
index 36eff09d4..4ecbcc3fc 100644
@@ -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