sparc32, sun4d: add comment in empty statement in sun4d_request_irq()
[pandora-kernel.git] / arch / sparc / kernel / kernel.h
1 #ifndef __SPARC_KERNEL_H
2 #define __SPARC_KERNEL_H
3
4 #include <linux/interrupt.h>
5
6 /* cpu.c */
7 extern const char *sparc_cpu_type;
8 extern const char *sparc_pmu_type;
9 extern const char *sparc_fpu_type;
10
11 extern unsigned int fsr_storage;
12
13 #ifdef CONFIG_SPARC32
14 /* cpu.c */
15 extern void cpu_probe(void);
16
17 /* traps_32.c */
18 extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,
19                               unsigned long npc, unsigned long psr);
20 /* muldiv.c */
21 extern int do_user_muldiv (struct pt_regs *, unsigned long);
22
23 /* irq_32.c */
24 extern struct irqaction static_irqaction[];
25 extern int static_irq_count;
26 extern spinlock_t irq_action_lock;
27
28 extern void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs);
29 extern void init_IRQ(void);
30
31 /* sun4c_irq.c */
32 extern void sun4c_init_IRQ(void);
33
34 /* sun4m_irq.c */
35 extern unsigned int lvl14_resolution;
36
37 extern void sun4m_init_IRQ(void);
38 extern void sun4m_clear_profile_irq(int cpu);
39
40 /* sun4d_irq.c */
41 extern spinlock_t sun4d_imsk_lock;
42
43 extern void sun4d_init_IRQ(void);
44 extern int sun4d_request_irq(unsigned int irq,
45                              irq_handler_t handler,
46                              unsigned long irqflags,
47                              const char *devname, void *dev_id);
48 extern int show_sun4d_interrupts(struct seq_file *, void *);
49 extern void sun4d_distribute_irqs(void);
50 extern void sun4d_free_irq(unsigned int irq, void *dev_id);
51
52 /* head_32.S */
53 extern unsigned int t_nmi[];
54 extern unsigned int linux_trap_ipi15_sun4d[];
55 extern unsigned int linux_trap_ipi15_sun4m[];
56
57 extern unsigned long trapbase_cpu1[];
58 extern unsigned long trapbase_cpu2[];
59 extern unsigned long trapbase_cpu3[];
60
61 extern char cputypval[];
62
63 /* entry.S */
64 extern unsigned long lvl14_save[4];
65 extern unsigned int real_irq_entry[];
66 extern unsigned int smp4d_ticker[];
67 extern unsigned int patchme_maybe_smp_msg[];
68
69 extern void floppy_hardint(void);
70
71 /* trampoline_32.S */
72 extern int __smp4m_processor_id(void);
73 extern int __smp4d_processor_id(void);
74 extern unsigned long sun4m_cpu_startup;
75 extern unsigned long sun4d_cpu_startup;
76
77 #else /* CONFIG_SPARC32 */
78 #endif /* CONFIG_SPARC32 */
79 #endif /* !(__SPARC_KERNEL_H) */