aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r--include/linux/irq.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index 1939d42c21d2..a6899402b522 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -18,6 +18,7 @@
18#include <linux/spinlock.h> 18#include <linux/spinlock.h>
19#include <linux/cpumask.h> 19#include <linux/cpumask.h>
20#include <linux/irqreturn.h> 20#include <linux/irqreturn.h>
21#include <linux/errno.h>
21 22
22#include <asm/irq.h> 23#include <asm/irq.h>
23#include <asm/ptrace.h> 24#include <asm/ptrace.h>
@@ -200,17 +201,6 @@ extern int setup_irq(unsigned int irq, struct irqaction *new);
200#endif 201#endif
201 202
202#ifdef CONFIG_SMP 203#ifdef CONFIG_SMP
203static inline void set_native_irq_info(int irq, cpumask_t mask)
204{
205 irq_desc[irq].affinity = mask;
206}
207#else
208static inline void set_native_irq_info(int irq, cpumask_t mask)
209{
210}
211#endif
212
213#ifdef CONFIG_SMP
214 204
215#if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE) 205#if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE)
216 206
@@ -328,9 +318,6 @@ extern void note_interrupt(unsigned int irq, struct irq_desc *desc,
328/* Resending of interrupts :*/ 318/* Resending of interrupts :*/
329void check_irq_resend(struct irq_desc *desc, unsigned int irq); 319void check_irq_resend(struct irq_desc *desc, unsigned int irq);
330 320
331/* Initialize /proc/irq/ */
332extern void init_irq_proc(void);
333
334/* Enable/disable irq debugging output: */ 321/* Enable/disable irq debugging output: */
335extern int noirqdebug_setup(char *str); 322extern int noirqdebug_setup(char *str);
336 323