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 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html