diff options
-rw-r--r-- | arch/h8300/kernel/ints.c | 1 | ||||
-rw-r--r-- | arch/h8300/platform/h8s/ints.c | 1 | ||||
-rw-r--r-- | arch/m68k/kernel/ints.c | 1 | ||||
-rw-r--r-- | arch/m68knommu/platform/5307/ints.c | 1 | ||||
-rw-r--r-- | include/linux/interrupt.h | 9 | ||||
-rw-r--r-- | include/linux/irq.h | 3 | ||||
-rw-r--r-- | init/main.c | 5 |
7 files changed, 14 insertions, 7 deletions
diff --git a/arch/h8300/kernel/ints.c b/arch/h8300/kernel/ints.c index 587ef7f4fcc7..3e4f479271c9 100644 --- a/arch/h8300/kernel/ints.c +++ b/arch/h8300/kernel/ints.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/kernel_stat.h> | 20 | #include <linux/kernel_stat.h> |
21 | #include <linux/seq_file.h> | 21 | #include <linux/seq_file.h> |
22 | #include <linux/interrupt.h> | ||
22 | #include <linux/init.h> | 23 | #include <linux/init.h> |
23 | #include <linux/random.h> | 24 | #include <linux/random.h> |
24 | #include <linux/bootmem.h> | 25 | #include <linux/bootmem.h> |
diff --git a/arch/h8300/platform/h8s/ints.c b/arch/h8300/platform/h8s/ints.c index 567f681ddfec..a71d6e2a3919 100644 --- a/arch/h8300/platform/h8s/ints.c +++ b/arch/h8300/platform/h8s/ints.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/kernel_stat.h> | 20 | #include <linux/kernel_stat.h> |
21 | #include <linux/seq_file.h> | 21 | #include <linux/seq_file.h> |
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/interrupt.h> | ||
23 | #include <linux/bootmem.h> | 24 | #include <linux/bootmem.h> |
24 | #include <linux/random.h> | 25 | #include <linux/random.h> |
25 | #include <linux/hardirq.h> | 26 | #include <linux/hardirq.h> |
diff --git a/arch/m68k/kernel/ints.c b/arch/m68k/kernel/ints.c index 84aceca6c05c..b66c97c904b3 100644 --- a/arch/m68k/kernel/ints.c +++ b/arch/m68k/kernel/ints.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/module.h> | 28 | #include <linux/module.h> |
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/sched.h> | 30 | #include <linux/sched.h> |
31 | #include <linux/interrupt.h> | ||
31 | #include <linux/kernel_stat.h> | 32 | #include <linux/kernel_stat.h> |
32 | #include <linux/errno.h> | 33 | #include <linux/errno.h> |
33 | #include <linux/init.h> | 34 | #include <linux/init.h> |
diff --git a/arch/m68knommu/platform/5307/ints.c b/arch/m68knommu/platform/5307/ints.c index a57239ec6c8c..20f12a19a522 100644 --- a/arch/m68knommu/platform/5307/ints.c +++ b/arch/m68knommu/platform/5307/ints.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/types.h> | 19 | #include <linux/types.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
22 | #include <linux/interrupt.h> | ||
22 | #include <linux/kernel_stat.h> | 23 | #include <linux/kernel_stat.h> |
23 | #include <linux/errno.h> | 24 | #include <linux/errno.h> |
24 | #include <linux/seq_file.h> | 25 | #include <linux/seq_file.h> |
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 | ||
diff --git a/init/main.c b/init/main.c index 953500b02ac4..1c5f6dce1bd2 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <linux/cpuset.h> | 41 | #include <linux/cpuset.h> |
42 | #include <linux/efi.h> | 42 | #include <linux/efi.h> |
43 | #include <linux/tick.h> | 43 | #include <linux/tick.h> |
44 | #include <linux/interrupt.h> | ||
44 | #include <linux/taskstats_kern.h> | 45 | #include <linux/taskstats_kern.h> |
45 | #include <linux/delayacct.h> | 46 | #include <linux/delayacct.h> |
46 | #include <linux/unistd.h> | 47 | #include <linux/unistd.h> |
@@ -702,11 +703,7 @@ static void __init do_basic_setup(void) | |||
702 | init_workqueues(); | 703 | init_workqueues(); |
703 | usermodehelper_init(); | 704 | usermodehelper_init(); |
704 | driver_init(); | 705 | driver_init(); |
705 | |||
706 | #ifdef CONFIG_PROC_FS | ||
707 | init_irq_proc(); | 706 | init_irq_proc(); |
708 | #endif | ||
709 | |||
710 | do_initcalls(); | 707 | do_initcalls(); |
711 | } | 708 | } |
712 | 709 | ||