diff options
Diffstat (limited to 'arch/sparc/kernel/kernel.h')
-rw-r--r-- | arch/sparc/kernel/kernel.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h new file mode 100644 index 000000000000..81a972e8d8ea --- /dev/null +++ b/arch/sparc/kernel/kernel.h | |||
@@ -0,0 +1,31 @@ | |||
1 | #ifndef __SPARC_KERNEL_H | ||
2 | #define __SPARC_KERNEL_H | ||
3 | |||
4 | #include <linux/interrupt.h> | ||
5 | |||
6 | /* cpu.c */ | ||
7 | extern const char *sparc_cpu_type; | ||
8 | extern const char *sparc_fpu_type; | ||
9 | |||
10 | extern unsigned int fsr_storage; | ||
11 | |||
12 | #ifdef CONFIG_SPARC32 | ||
13 | /* cpu.c */ | ||
14 | extern void cpu_probe(void); | ||
15 | |||
16 | /* traps_32.c */ | ||
17 | extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc, | ||
18 | unsigned long npc, unsigned long psr); | ||
19 | /* muldiv.c */ | ||
20 | extern int do_user_muldiv (struct pt_regs *, unsigned long); | ||
21 | |||
22 | /* irq_32.c */ | ||
23 | extern struct irqaction static_irqaction[]; | ||
24 | extern int static_irq_count; | ||
25 | extern spinlock_t irq_action_lock; | ||
26 | |||
27 | extern void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs); | ||
28 | |||
29 | #else /* CONFIG_SPARC32 */ | ||
30 | #endif /* CONFIG_SPARC32 */ | ||
31 | #endif /* !(__SPARC_KERNEL_H) */ | ||