diff options
| author | Andrew Morton <[email protected]> | 2007-02-17 21:22:39 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-02-19 14:21:50 -0800 |
| commit | 6168a702ab0be181e5e57a0b2d0e7376f7a47f0b (patch) | |
| tree | 4eaecb660154bb36b3884b21bf335ff040559902 /include/linux/debugobjects.h | |
| parent | a6e6df25ec6751f4f73784398ab7d43cf9d2019f (diff) | |
[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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions