diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-06 19:55:43 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:09 -0500 |
commit | 1535dfacbf21c4da1b73fcf07c39913da5bd5581 (patch) | |
tree | 28551fca52e2b636b3fdbc9d0b1e7a1cad06d791 /kernel/irq/internals.h | |
parent | fe200ae48ef5c79bf7941fe8046ff9505c570ff6 (diff) |
genirq: Move irq thread flags to core
Soleley used in core code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 0eff7e92b1a9..b17c98440400 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: */ |