]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/sparc/kernel/kernel.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[mirror_ubuntu-bionic-kernel.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;
c3cf5e8c 8extern const char *sparc_pmu_type;
53ae3419
SR
9extern const char *sparc_fpu_type;
10
11extern unsigned int fsr_storage;
12
8d74e32a
SR
13#ifdef CONFIG_SPARC32
14/* cpu.c */
53ae3419
SR
15extern void cpu_probe(void);
16
8d74e32a
SR
17/* traps_32.c */
18extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,
19 unsigned long npc, unsigned long psr);
20/* muldiv.c */
21extern int do_user_muldiv (struct pt_regs *, unsigned long);
81265fd9
SR
22
23/* irq_32.c */
24extern struct irqaction static_irqaction[];
25extern int static_irq_count;
26extern spinlock_t irq_action_lock;
27
28extern void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs);
29
8d74e32a 30#else /* CONFIG_SPARC32 */
7105de84
SR
31#endif /* CONFIG_SPARC32 */
32#endif /* !(__SPARC_KERNEL_H) */