diff options
author | David Miller <davem@davemloft.net> | 2009-01-21 17:24:51 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-22 09:05:25 +0100 |
commit | 623d3f0c619f3576dae69709ca8aa93ac76d8c63 (patch) | |
tree | 2d731a3c8b313dcbfd6b800133849a93297fd61b /arch/sparc/kernel | |
parent | 0b0f0b1c2c87de299df6f92a8ffc0a73bd1bb960 (diff) | |
download | lwn-623d3f0c619f3576dae69709ca8aa93ac76d8c63.tar.gz lwn-623d3f0c619f3576dae69709ca8aa93ac76d8c63.zip |
sparc64: Fix build by including linux/irq.h into time_64.c
Changeset d7e51e66899f95dabc89b4d4c6674a6e50fa37fc ("sparseirq: make
some func to be used with genirq") broke the build on sparc64:
arch/sparc/kernel/time_64.c: In function ‘timer_interrupt’:
arch/sparc/kernel/time_64.c:732: error: implicit declaration of function ‘kstat_incr_irqs_this_cpu’
make[1]: *** [arch/sparc/kernel/time_64.o] Error 1
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/time_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c index 54405d362148..a55279939b65 100644 --- a/arch/sparc/kernel/time_64.c +++ b/arch/sparc/kernel/time_64.c @@ -36,10 +36,10 @@ #include <linux/clocksource.h> #include <linux/of_device.h> #include <linux/platform_device.h> +#include <linux/irq.h> #include <asm/oplib.h> #include <asm/timer.h> -#include <asm/irq.h> #include <asm/io.h> #include <asm/prom.h> #include <asm/starfire.h> |