kernel.h 817 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __SPARC_KERNEL_H
  2. #define __SPARC_KERNEL_H
  3. #include <linux/interrupt.h>
  4. /* cpu.c */
  5. extern const char *sparc_cpu_type;
  6. extern const char *sparc_pmu_type;
  7. extern const char *sparc_fpu_type;
  8. extern unsigned int fsr_storage;
  9. #ifdef CONFIG_SPARC32
  10. /* cpu.c */
  11. extern void cpu_probe(void);
  12. /* traps_32.c */
  13. extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,
  14. unsigned long npc, unsigned long psr);
  15. /* muldiv.c */
  16. extern int do_user_muldiv (struct pt_regs *, unsigned long);
  17. /* irq_32.c */
  18. extern struct irqaction static_irqaction[];
  19. extern int static_irq_count;
  20. extern spinlock_t irq_action_lock;
  21. extern void unexpected_irq(int irq, void *dev_id, struct pt_regs * regs);
  22. #else /* CONFIG_SPARC32 */
  23. #endif /* CONFIG_SPARC32 */
  24. #endif /* !(__SPARC_KERNEL_H) */