I got an error when I built a device driver with IRQF_NODELAY in Linux 3.0.9. And I found that IRQF_NODELAY was disappeared since somewhere after 2.6.x. For the realtime job, I need an ISR that is not working as a thread. Because I patched vanilla kernel with RT-Linux, the default ISR mode is not a real ISR but a thread.

Is IRQF_NODELAY deprecated? Can I use some flag equivalent to IRQF_NODELAY?

有帮助吗?

解决方案

IRQ_NODELAY was replaced by IRQF_NO_THREAD. It works fine, I have used it for one project. You can pass it as third argument in the request_irq function.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top