Skip to contentSkip to conversation

cobalt/clock: call irq_pipeline_send_remote to trigger interrupt TIMER_OOB_IPI

PATCH New hongzha1 1 participant 1 message Oct 29, 2020

lore
Share & tools
lore

hongzha1

author
#0 lore raw

PATCH v3 4/7 cobalt/clock: call irq_pipeline_send_remote to trigger interrupt TIMER_OOB_IPI

call irq_pipeline_send_remote to trigger interrupt TIMER_OOB_IPI

---
 kernel/cobalt/clock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/cobalt/clock.c +2 -1
index 9716a0391..ab9fa394d 100644
@@ -235,7 +235,8 @@ void xnclock_core_remote_shot(struct xnsched *sched)
 #ifdef CONFIG_IPIPE
 	ipipe_send_ipi(IPIPE_HRTIMER_IPI, *cpumask_of(xnsched_cpu(sched)));
 #else
-#warning TODO
+	irq_pipeline_send_remote(TIMER_OOB_IPI,
+			cpumask_of(xnsched_cpu(sched)));
 #endif
 }
 #endif
Signature · 1 line
2.17.1