diff options
author | Andrew Morton <akpm@osdl.org> | 2007-02-18 06:22:39 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-19 23:21:50 +0100 |
commit | 6168a702ab0be181e5e57a0b2d0e7376f7a47f0b (patch) | |
tree | 4eaecb660154bb36b3884b21bf335ff040559902 /arch/m68k | |
parent | [PATCH] fs/stack.c: Copy i_nlink after all other attributes are copied (diff) | |
download | linux-6168a702ab0be181e5e57a0b2d0e7376f7a47f0b.tar.xz linux-6168a702ab0be181e5e57a0b2d0e7376f7a47f0b.zip |
[PATCH] Declare init_irq_proc before we use it.
powerpc gets:
init/main.c: In function `do_basic_setup':
init/main.c:714: warning: implicit declaration of function `init_irq_proc'
but we cannot include linux/irq.h in generic code.
Fix it by moving the declaration into linux/interrupt.h instead.
And make sure all code that defines init_irq_proc() is including
linux/interrupt.h.
And nuke an ifdef-in-C
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/kernel/ints.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ #include <linux/module.h> #include <linux/types.h> #include <linux/sched.h> +#include <linux/interrupt.h> #include <linux/kernel_stat.h> #include <linux/errno.h> #include <linux/init.h> |