Commit f74596d0 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

proper show_interrupts() prototype

Add a proper prototype for show_interrupts() in include/linux/interrupt.h
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0b03cfb2
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/random.h> #include <linux/random.h>
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/interrupt.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/traps.h> #include <asm/traps.h>
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/mmzone.h> #include <linux/mmzone.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/interrupt.h>
#include <linux/swap.h> #include <linux/swap.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/smp.h> #include <linux/smp.h>
...@@ -599,7 +600,6 @@ static void int_seq_stop(struct seq_file *f, void *v) ...@@ -599,7 +600,6 @@ static void int_seq_stop(struct seq_file *f, void *v)
} }
extern int show_interrupts(struct seq_file *f, void *v); /* In arch code */
static struct seq_operations int_seq_ops = { static struct seq_operations int_seq_ops = {
.start = int_seq_start, .start = int_seq_start,
.next = int_seq_next, .next = int_seq_next,
......
...@@ -444,4 +444,6 @@ static inline void init_irq_proc(void) ...@@ -444,4 +444,6 @@ static inline void init_irq_proc(void)
} }
#endif #endif
int show_interrupts(struct seq_file *p, void *v);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment