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