1DISABLE_HARDIRQ(9) Public Functions Provided DISABLE_HARDIRQ(9)
2
3
4
6 disable_hardirq - disables an irq and waits for hardirq completion
7
9 bool disable_hardirq(unsigned int irq);
10
12 irq
13 Interrupt to disable
14
16 Disable the selected interrupt line. Enables and Disables are nested.
17 This function waits for any pending hard IRQ handlers for this
18 interrupt to complete before returning. If you use this function while
19 holding a resource the hard IRQ handler may need you will deadlock.
20
21 When used to optimistically disable an interrupt from atomic context
22 the return value must be checked.
23
25 false if a threaded handler is active.
26
27 This function may be called - with care - from IRQ context.
28
30 Thomas Gleixner <tglx@linutronix.de>
31 Author.
32
33 Ingo Molnar <mingo@elte.hu>
34 Author.
35
37Kernel Hackers Manual 3.10 June 2019 DISABLE_HARDIRQ(9)