diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-16 11:46:22 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-16 11:46:22 -0500 |
commit | 5a2dd72abdae75ea2960145e0549635ce4e0be96 (patch) | |
tree | 44dba0119c75679a17215200f92ab23bdde9efc2 /include/linux/interrupt.h | |
parent | efdc64f0c792ea744bcc9203f35b908e66d42f41 (diff) | |
parent | 7cb36b6ccdca03bd87e8faca7fd920643dd1aec7 (diff) |
Merge branch 'linus' into irq/genirq
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r-- | include/linux/interrupt.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 777f89e00b4a..9127f6b51a39 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/irqflags.h> | 14 | #include <linux/irqflags.h> |
15 | #include <linux/smp.h> | 15 | #include <linux/smp.h> |
16 | #include <linux/percpu.h> | 16 | #include <linux/percpu.h> |
17 | #include <linux/irqnr.h> | ||
18 | 17 | ||
19 | #include <asm/atomic.h> | 18 | #include <asm/atomic.h> |
20 | #include <asm/ptrace.h> | 19 | #include <asm/ptrace.h> |
@@ -109,15 +108,15 @@ extern void enable_irq(unsigned int irq); | |||
109 | 108 | ||
110 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS) | 109 | #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS) |
111 | 110 | ||
112 | extern cpumask_t irq_default_affinity; | 111 | extern cpumask_var_t irq_default_affinity; |
113 | 112 | ||
114 | extern int irq_set_affinity(unsigned int irq, cpumask_t cpumask); | 113 | extern int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask); |
115 | extern int irq_can_set_affinity(unsigned int irq); | 114 | extern int irq_can_set_affinity(unsigned int irq); |
116 | extern int irq_select_affinity(unsigned int irq); | 115 | extern int irq_select_affinity(unsigned int irq); |
117 | 116 | ||
118 | #else /* CONFIG_SMP */ | 117 | #else /* CONFIG_SMP */ |
119 | 118 | ||
120 | static inline int irq_set_affinity(unsigned int irq, cpumask_t cpumask) | 119 | static inline int irq_set_affinity(unsigned int irq, const struct cpumask *m) |
121 | { | 120 | { |
122 | return -EINVAL; | 121 | return -EINVAL; |
123 | } | 122 | } |
@@ -253,10 +252,8 @@ enum | |||
253 | BLOCK_SOFTIRQ, | 252 | BLOCK_SOFTIRQ, |
254 | TASKLET_SOFTIRQ, | 253 | TASKLET_SOFTIRQ, |
255 | SCHED_SOFTIRQ, | 254 | SCHED_SOFTIRQ, |
256 | #ifdef CONFIG_HIGH_RES_TIMERS | ||
257 | HRTIMER_SOFTIRQ, | 255 | HRTIMER_SOFTIRQ, |
258 | #endif | 256 | RCU_SOFTIRQ, /* Preferable RCU should always be the last softirq */ |
259 | RCU_SOFTIRQ, /* Preferable RCU should always be the last softirq */ | ||
260 | 257 | ||
261 | NR_SOFTIRQS | 258 | NR_SOFTIRQS |
262 | }; | 259 | }; |
@@ -467,4 +464,10 @@ static inline void init_irq_proc(void) | |||
467 | 464 | ||
468 | int show_interrupts(struct seq_file *p, void *v); | 465 | int show_interrupts(struct seq_file *p, void *v); |
469 | 466 | ||
467 | struct irq_desc; | ||
468 | |||
469 | extern int early_irq_init(void); | ||
470 | extern int arch_early_irq_init(void); | ||
471 | extern int arch_init_chip_data(struct irq_desc *desc, int cpu); | ||
472 | |||
470 | #endif | 473 | #endif |