diff options
-rw-r--r-- | include/linux/interrupt.h | 14 | ||||
-rw-r--r-- | kernel/irq/internals.h | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 7834726dd95..de97b958f47 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -74,20 +74,6 @@ | |||
74 | #define IRQF_TIMER (__IRQF_TIMER | IRQF_NO_SUSPEND) | 74 | #define IRQF_TIMER (__IRQF_TIMER | IRQF_NO_SUSPEND) |
75 | 75 | ||
76 | /* | 76 | /* |
77 | * Bits used by threaded handlers: | ||
78 | * IRQTF_RUNTHREAD - signals that the interrupt handler thread should run | ||
79 | * IRQTF_DIED - handler thread died | ||
80 | * IRQTF_WARNED - warning "IRQ_WAKE_THREAD w/o thread_fn" has been printed | ||
81 | * IRQTF_AFFINITY - irq thread is requested to adjust affinity | ||
82 | */ | ||
83 | enum { | ||
84 | IRQTF_RUNTHREAD, | ||
85 | IRQTF_DIED, | ||
86 | IRQTF_WARNED, | ||
87 | IRQTF_AFFINITY, | ||
88 | }; | ||
89 | |||
90 | /* | ||
91 | * These values can be returned by request_any_context_irq() and | 77 | * These values can be returned by request_any_context_irq() and |
92 | * describe the context the interrupt will be run in. | 78 | * describe the context the interrupt will be run in. |
93 | * | 79 | * |
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 0eff7e92b1a..b17c9844040 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -11,6 +11,20 @@ | |||
11 | 11 | ||
12 | extern int noirqdebug; | 12 | extern int noirqdebug; |
13 | 13 | ||
14 | /* | ||
15 | * Bits used by threaded handlers: | ||
16 | * IRQTF_RUNTHREAD - signals that the interrupt handler thread should run | ||
17 | * IRQTF_DIED - handler thread died | ||
18 | * IRQTF_WARNED - warning "IRQ_WAKE_THREAD w/o thread_fn" has been printed | ||
19 | * IRQTF_AFFINITY - irq thread is requested to adjust affinity | ||
20 | */ | ||
21 | enum { | ||
22 | IRQTF_RUNTHREAD, | ||
23 | IRQTF_DIED, | ||
24 | IRQTF_WARNED, | ||
25 | IRQTF_AFFINITY, | ||
26 | }; | ||
27 | |||
14 | #define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) | 28 | #define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) |
15 | 29 | ||
16 | /* Set default functions for irq_chip structures: */ | 30 | /* Set default functions for irq_chip structures: */ |