diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/interrupt.h | 9 | ||||
-rw-r--r-- | include/linux/irq.h | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index e5ea1411050b..838cf5a5bd7f 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -423,4 +423,13 @@ extern int probe_irq_off(unsigned long); /* returns 0 or negative on failure */ | |||
423 | extern unsigned int probe_irq_mask(unsigned long); /* returns mask of ISA interrupts */ | 423 | extern unsigned int probe_irq_mask(unsigned long); /* returns mask of ISA interrupts */ |
424 | #endif | 424 | #endif |
425 | 425 | ||
426 | #ifdef CONFIG_PROC_FS | ||
427 | /* Initialize /proc/irq/ */ | ||
428 | extern void init_irq_proc(void); | ||
429 | #else | ||
430 | static inline void init_irq_proc(void) | ||
431 | { | ||
432 | } | ||
433 | #endif | ||
434 | |||
426 | #endif | 435 | #endif |
diff --git a/include/linux/irq.h b/include/linux/irq.h index 1939d42c21d2..aa5b3e6178a0 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -328,9 +328,6 @@ extern void note_interrupt(unsigned int irq, struct irq_desc *desc, | |||
328 | /* Resending of interrupts :*/ | 328 | /* Resending of interrupts :*/ |
329 | void check_irq_resend(struct irq_desc *desc, unsigned int irq); | 329 | void check_irq_resend(struct irq_desc *desc, unsigned int irq); |
330 | 330 | ||
331 | /* Initialize /proc/irq/ */ | ||
332 | extern void init_irq_proc(void); | ||
333 | |||
334 | /* Enable/disable irq debugging output: */ | 331 | /* Enable/disable irq debugging output: */ |
335 | extern int noirqdebug_setup(char *str); | 332 | extern int noirqdebug_setup(char *str); |
336 | 333 | ||