hw_irq.h 402 B

12345678910111213141516171819202122
  1. /*
  2. * Nothing to see here yet
  3. */
  4. #ifndef _ARCH_ARM_HW_IRQ_H
  5. #define _ARCH_ARM_HW_IRQ_H
  6. static inline void ack_bad_irq(int irq)
  7. {
  8. extern unsigned long irq_err_count;
  9. irq_err_count++;
  10. }
  11. void set_irq_flags(unsigned int irq, unsigned int flags);
  12. #define IRQF_VALID (1 << 0)
  13. #define IRQF_PROBE (1 << 1)
  14. #define IRQF_NOAUTOEN (1 << 2)
  15. #define ARCH_IRQ_INIT_FLAGS (IRQ_NOREQUEST | IRQ_NOPROBE)
  16. #endif