Commit 1535dfacbf21c4da1b73fcf07c39913da5bd5581
1 parent
fe200ae48e
Exists in
master
and in
7 other branches
genirq: Move irq thread flags to core
Soleley used in core code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Showing 2 changed files with 14 additions and 14 deletions Side-by-side Diff
include/linux/interrupt.h
... | ... | @@ -74,20 +74,6 @@ |
74 | 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 | 77 | * These values can be returned by request_any_context_irq() and |
92 | 78 | * describe the context the interrupt will be run in. |
93 | 79 | * |
kernel/irq/internals.h
... | ... | @@ -11,6 +11,20 @@ |
11 | 11 | |
12 | 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 | 28 | #define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) |
15 | 29 | |
16 | 30 | /* Set default functions for irq_chip structures: */ |