1 #ifndef __SPARC_KERNEL_H
2 #define __SPARC_KERNEL_H
4 #include <linux/interrupt.h>
7 extern const char *sparc_cpu_type
;
8 extern const char *sparc_pmu_type
;
9 extern const char *sparc_fpu_type
;
11 extern unsigned int fsr_storage
;
15 extern void cpu_probe(void);
18 extern void handle_hw_divzero(struct pt_regs
*regs
, unsigned long pc
,
19 unsigned long npc
, unsigned long psr
);
21 extern int do_user_muldiv (struct pt_regs
*, unsigned long);
24 extern struct irqaction static_irqaction
[];
25 extern int static_irq_count
;
26 extern spinlock_t irq_action_lock
;
28 extern void unexpected_irq(int irq
, void *dev_id
, struct pt_regs
* regs
);
30 #else /* CONFIG_SPARC32 */
31 #endif /* CONFIG_SPARC32 */
32 #endif /* !(__SPARC_KERNEL_H) */