sparc64: prepare module_64.c for unification
[deliverable/linux.git] / arch / sparc / kernel / kernel.h
CommitLineData
7105de84
SR
1#ifndef __SPARC_KERNEL_H
2#define __SPARC_KERNEL_H
81265fd9
SR
3
4#include <linux/interrupt.h>
5
53ae3419
SR
6/* cpu.c */
7extern const char *sparc_cpu_type;
8extern const char *sparc_fpu_type;
9
10extern unsigned int fsr_storage;
11
8d74e32a
SR
12#ifdef CONFIG_SPARC32
13/* cpu.c */
53ae3419
SR
14extern void cpu_probe(void);
15
8d74e32a
SR
16/* traps_32.c */
17extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,
18 unsigned long npc, unsigned long psr);
19/* muldiv.c */
20extern int do_user_muldiv (struct pt_regs *, unsigned long);
81265fd9
SR
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
8d74e32a 29#else /* CONFIG_SPARC32 */
7105de84
SR
30#endif /* CONFIG_SPARC32 */
31#endif /* !(__SPARC_KERNEL_H) */
This page took 0.028506 seconds and 5 git commands to generate.