kernel.h 817 字节
Newer Older
1 2
#ifndef __SPARC_KERNEL_H
#define __SPARC_KERNEL_H
3 4 5

#include <linux/interrupt.h>

6 7
/* cpu.c */
extern const char *sparc_cpu_type;
8
extern const char *sparc_pmu_type;
9 10 11 12
extern const char *sparc_fpu_type;

extern unsigned int fsr_storage;

13 14
#ifdef CONFIG_SPARC32
/* cpu.c */
15 16
extern void cpu_probe(void);

17 18 19 20 21
/* traps_32.c */
extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,
                              unsigned long npc, unsigned long psr);
/* muldiv.c */
extern int do_user_muldiv (struct pt_regs *, unsigned long);
22 23 24 25 26 27 28 29

/* irq_32.c */
extern struct irqaction static_irqaction[];
extern int static_irq_count;
extern spinlock_t irq_action_lock;

extern void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs);

30
#else /* CONFIG_SPARC32 */
31 32
#endif /* CONFIG_SPARC32 */
#endif /* !(__SPARC_KERNEL_H) */