diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-06 04:36:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:02 -0500 |
commit | f74596d07957235ad9da5120029348b372224a27 (patch) | |
tree | 72089ad3368af0e674952866dd9db69b1bcb42f9 | |
parent | 0b03cfb25fa944bc106e816146846dcb48b2e907 (diff) |
proper show_interrupts() prototype
Add a proper prototype for show_interrupts() in include/linux/interrupt.h
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/h8300/kernel/irq.c | 1 | ||||
-rw-r--r-- | fs/proc/proc_misc.c | 2 | ||||
-rw-r--r-- | include/linux/interrupt.h | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/arch/h8300/kernel/irq.c b/arch/h8300/kernel/irq.c index 8dec4dd57b4e..5a1b4cfea05b 100644 --- a/arch/h8300/kernel/irq.c +++ b/arch/h8300/kernel/irq.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/random.h> | 14 | #include <linux/random.h> |
15 | #include <linux/bootmem.h> | 15 | #include <linux/bootmem.h> |
16 | #include <linux/irq.h> | 16 | #include <linux/irq.h> |
17 | #include <linux/interrupt.h> | ||
17 | 18 | ||
18 | #include <asm/system.h> | 19 | #include <asm/system.h> |
19 | #include <asm/traps.h> | 20 | #include <asm/traps.h> |
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index 51288db37a0c..c0a90954016f 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/mm.h> | 29 | #include <linux/mm.h> |
30 | #include <linux/mmzone.h> | 30 | #include <linux/mmzone.h> |
31 | #include <linux/pagemap.h> | 31 | #include <linux/pagemap.h> |
32 | #include <linux/interrupt.h> | ||
32 | #include <linux/swap.h> | 33 | #include <linux/swap.h> |
33 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
34 | #include <linux/smp.h> | 35 | #include <linux/smp.h> |
@@ -599,7 +600,6 @@ static void int_seq_stop(struct seq_file *f, void *v) | |||
599 | } | 600 | } |
600 | 601 | ||
601 | 602 | ||
602 | extern int show_interrupts(struct seq_file *f, void *v); /* In arch code */ | ||
603 | static struct seq_operations int_seq_ops = { | 603 | static struct seq_operations int_seq_ops = { |
604 | .start = int_seq_start, | 604 | .start = int_seq_start, |
605 | .next = int_seq_next, | 605 | .next = int_seq_next, |
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index c3db4a00f1fa..dea7598aeff4 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -444,4 +444,6 @@ static inline void init_irq_proc(void) | |||
444 | } | 444 | } |
445 | #endif | 445 | #endif |
446 | 446 | ||
447 | int show_interrupts(struct seq_file *p, void *v); | ||
448 | |||
447 | #endif | 449 | #endif |