aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-02-21 14:17:22 -0500
committerThomas Gleixner <tglx@linutronix.de>2010-02-21 14:17:22 -0500
commit5f854cfc024622e4aae14d7cf422f6ff86278688 (patch)
tree426e77c6f6e4939c80440bf1fabcb020e3ee145b /include/linux/interrupt.h
parentcc24da0742870f152ddf1002aa39dfcd83f7cf9c (diff)
parent4ec62b2b2e6bd7ddef7b6cea6e5db7b5578a6532 (diff)
Forward to 2.6.33-rc8
Merge branch 'linus' into rt/head with a pile of conflicts. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index f7bbea6a98a7..9f6580a184c9 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -10,7 +10,6 @@
10#include <linux/irqreturn.h> 10#include <linux/irqreturn.h>
11#include <linux/irqnr.h> 11#include <linux/irqnr.h>
12#include <linux/hardirq.h> 12#include <linux/hardirq.h>
13#include <linux/sched.h>
14#include <linux/irqflags.h> 13#include <linux/irqflags.h>
15#include <linux/smp.h> 14#include <linux/smp.h>
16#include <linux/percpu.h> 15#include <linux/percpu.h>
@@ -53,7 +52,7 @@
53 * IRQF_ONESHOT - Interrupt is not reenabled after the hardirq handler finished. 52 * IRQF_ONESHOT - Interrupt is not reenabled after the hardirq handler finished.
54 * Used by threaded interrupts which need to keep the 53 * Used by threaded interrupts which need to keep the
55 * irq line disabled until the threaded handler has been run. 54 * irq line disabled until the threaded handler has been run.
56 * IRQF_NODELAY - Interrupt is not force threaded 55 * IRQF_NODELAY - Interrupt is not force threaded on -rt
57 */ 56 */
58#define IRQF_DISABLED 0x00000020 57#define IRQF_DISABLED 0x00000020
59#define IRQF_SAMPLE_RANDOM 0x00000040 58#define IRQF_SAMPLE_RANDOM 0x00000040
@@ -88,7 +87,6 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
88 * struct irqaction - per interrupt action descriptor 87 * struct irqaction - per interrupt action descriptor
89 * @handler: interrupt handler function 88 * @handler: interrupt handler function
90 * @flags: flags (see IRQF_* above) 89 * @flags: flags (see IRQF_* above)
91 * @mask: no comment as it is useless and about to be removed
92 * @name: name of the device 90 * @name: name of the device
93 * @dev_id: cookie to identify the device 91 * @dev_id: cookie to identify the device
94 * @next: pointer to the next irqaction for shared interrupts 92 * @next: pointer to the next irqaction for shared interrupts
@@ -102,7 +100,6 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
102struct irqaction { 100struct irqaction {
103 irq_handler_t handler; 101 irq_handler_t handler;
104 unsigned long flags; 102 unsigned long flags;
105 cpumask_t mask;
106 const char *name; 103 const char *name;
107 void *dev_id; 104 void *dev_id;
108 struct irqaction *next; 105 struct irqaction *next;
@@ -355,6 +352,7 @@ enum
355 NET_TX_SOFTIRQ, 352 NET_TX_SOFTIRQ,
356 NET_RX_SOFTIRQ, 353 NET_RX_SOFTIRQ,
357 BLOCK_SOFTIRQ, 354 BLOCK_SOFTIRQ,
355 BLOCK_IOPOLL_SOFTIRQ,
358 TASKLET_SOFTIRQ, 356 TASKLET_SOFTIRQ,
359 SCHED_SOFTIRQ, 357 SCHED_SOFTIRQ,
360 HRTIMER_SOFTIRQ, 358 HRTIMER_SOFTIRQ,
@@ -622,12 +620,7 @@ static inline void init_irq_proc(void)
622} 620}
623#endif 621#endif
624 622
625#if defined(CONFIG_GENERIC_HARDIRQS) && defined(CONFIG_DEBUG_SHIRQ) 623struct seq_file;
626extern void debug_poll_all_shared_irqs(void);
627#else
628static inline void debug_poll_all_shared_irqs(void) { }
629#endif
630
631int show_interrupts(struct seq_file *p, void *v); 624int show_interrupts(struct seq_file *p, void *v);
632 625
633struct irq_desc; 626struct irq_desc;