irq.h 587 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * arch/arm/include/asm/mach/irq.h
  4. *
  5. * Copyright (C) 1995-2000 Russell King.
  6. */
  7. #ifndef __ASM_ARM_MACH_IRQ_H
  8. #define __ASM_ARM_MACH_IRQ_H
  9. #include <linux/irq.h>
  10. struct seq_file;
  11. /*
  12. * This is internal. Do not use it.
  13. */
  14. extern void init_FIQ(int);
  15. extern int show_fiq_list(struct seq_file *, int);
  16. /*
  17. * This is for easy migration, but should be changed in the source
  18. */
  19. #define do_bad_IRQ(desc) \
  20. do { \
  21. raw_spin_lock(&desc->lock); \
  22. handle_bad_irq(desc); \
  23. raw_spin_unlock(&desc->lock); \
  24. } while(0)
  25. #endif