简体   繁体   中英

Where can I find IRQF_NODELAY flag in Linux kernel?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM