kernel.h 551 字节
Newer Older
1 2
#ifndef __SPARC_KERNEL_H
#define __SPARC_KERNEL_H
3 4 5 6 7 8
/* cpu.c */
extern const char *sparc_cpu_type;
extern const char *sparc_fpu_type;

extern unsigned int fsr_storage;

9 10
#ifdef CONFIG_SPARC32
/* cpu.c */
11 12
extern void cpu_probe(void);

13 14 15 16 17 18
/* 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);
#else /* CONFIG_SPARC32 */
19 20
#endif /* CONFIG_SPARC32 */
#endif /* !(__SPARC_KERNEL_H) */