in_interrupt() run in process context when PREEMPT_RT

Viewed 33

Earlier I was using PREEMPT configuration and I was able to run the task in interrupt context with in_interrupt().

if(in_interrupt())
   /* some task */

I want to run the task in an interrupt context seems which is not allowed in PREEMPT_RT.

Is there any direct way to run task in interrupt context in PREEMPT_RT

0 Answers
Related