mirror of https://gitee.com/openkylin/linux.git
[PATCH] x86: hw_irq.h warning fix
include/asm/hw_irq.h:70: warning: `struct hw_interrupt_type' declared inside parameter list include/asm/hw_irq.h:70: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
353fb07e20
commit
d96c4e7bb0
|
@ -18,6 +18,8 @@
|
||||||
#include <asm/irq.h>
|
#include <asm/irq.h>
|
||||||
#include <asm/sections.h>
|
#include <asm/sections.h>
|
||||||
|
|
||||||
|
struct hw_interrupt_type;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Various low-level irq details needed by irq.c, process.c,
|
* Various low-level irq details needed by irq.c, process.c,
|
||||||
* time.c, io_apic.c and smp.c
|
* time.c, io_apic.c and smp.c
|
||||||
|
|
Loading…
Reference in New Issue