aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/kernel.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2011-02-26 01:59:20 -0500
committerDavid S. Miller <davem@davemloft.net>2011-03-16 21:19:13 -0400
commita2a211cb55f0f3d13d791f3d2adccc96032e6846 (patch)
treed34928332d2dd9524765ee2ad2af24b06d85a2c8 /arch/sparc/kernel/kernel.h
parent81043e811191b5ccc1e6c170ed26f4ac8388834f (diff)
sparc32: fix build with leon or floppy enabled
Add a few includes back required to build with floppy enabled Fix declaration of trapbase_cpu* so it is now consistent Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/kernel.h')
-rw-r--r--arch/sparc/kernel/kernel.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h
index 7eb736314381..24ad449886be 100644
--- a/arch/sparc/kernel/kernel.h
+++ b/arch/sparc/kernel/kernel.h
@@ -3,6 +3,8 @@
3 3
4#include <linux/interrupt.h> 4#include <linux/interrupt.h>
5 5
6#include <asm/traps.h>
7
6/* cpu.c */ 8/* cpu.c */
7extern const char *sparc_cpu_type; 9extern const char *sparc_cpu_type;
8extern const char *sparc_pmu_type; 10extern const char *sparc_pmu_type;
@@ -54,9 +56,9 @@ extern unsigned int t_nmi[];
54extern unsigned int linux_trap_ipi15_sun4d[]; 56extern unsigned int linux_trap_ipi15_sun4d[];
55extern unsigned int linux_trap_ipi15_sun4m[]; 57extern unsigned int linux_trap_ipi15_sun4m[];
56 58
57extern unsigned long trapbase_cpu1[]; 59extern struct tt_entry trapbase_cpu1;
58extern unsigned long trapbase_cpu2[]; 60extern struct tt_entry trapbase_cpu2;
59extern unsigned long trapbase_cpu3[]; 61extern struct tt_entry trapbase_cpu3;
60 62
61extern char cputypval[]; 63extern char cputypval[];
62 64