linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* what to use in threaded ISR routine in place of in_irq()
@ 2012-04-25 11:02 Priyanka Gupta Jain
  0 siblings, 0 replies; only message in thread
From: Priyanka Gupta Jain @ 2012-04-25 11:02 UTC (permalink / raw)
  To: linux-rt-users

hi,

While running in one of ISR routine, we have a call to function x()
which makes a call to in_irq() to check if the function x() has been
called in ISR context or from some other process and do the processing
accordingly.
This scenario works fine in case of hard ISR.

But with PREEMPT_RT patch, ISR routine gets converted into threaded
ISR and now in function x(), we can not use in_irq() to distinguish
beween threaded isr or some other process context.

Is there any function in PREEMPT_RT kernel similar to in_irq(), which
I can use to check if running in threaded isr context or not


Regards
Priyanka

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-25 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-25 11:02 what to use in threaded ISR routine in place of in_irq() Priyanka Gupta Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).