diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2011-02-26 01:59:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-16 21:19:13 -0400 |
commit | a2a211cb55f0f3d13d791f3d2adccc96032e6846 (patch) | |
tree | d34928332d2dd9524765ee2ad2af24b06d85a2c8 /arch/sparc/kernel/kernel.h | |
parent | 81043e811191b5ccc1e6c170ed26f4ac8388834f (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.h | 8 |
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 */ |
7 | extern const char *sparc_cpu_type; | 9 | extern const char *sparc_cpu_type; |
8 | extern const char *sparc_pmu_type; | 10 | extern const char *sparc_pmu_type; |
@@ -54,9 +56,9 @@ extern unsigned int t_nmi[]; | |||
54 | extern unsigned int linux_trap_ipi15_sun4d[]; | 56 | extern unsigned int linux_trap_ipi15_sun4d[]; |
55 | extern unsigned int linux_trap_ipi15_sun4m[]; | 57 | extern unsigned int linux_trap_ipi15_sun4m[]; |
56 | 58 | ||
57 | extern unsigned long trapbase_cpu1[]; | 59 | extern struct tt_entry trapbase_cpu1; |
58 | extern unsigned long trapbase_cpu2[]; | 60 | extern struct tt_entry trapbase_cpu2; |
59 | extern unsigned long trapbase_cpu3[]; | 61 | extern struct tt_entry trapbase_cpu3; |
60 | 62 | ||
61 | extern char cputypval[]; | 63 | extern char cputypval[]; |
62 | 64 | ||