hw_irq.h 482 B

1234567891011121314151617181920
  1. /*
  2. * Nothing to see here yet
  3. */
  4. #ifndef _ARCH_ARM_HW_IRQ_H
  5. #define _ARCH_ARM_HW_IRQ_H
  6. #include <asm/mach/irq.h>
  7. #if defined(CONFIG_NO_IDLE_HZ)
  8. # include <asm/dyntick.h>
  9. # define handle_dynamic_tick(action) \
  10. if (!(action->flags & IRQF_TIMER) && system_timer->dyn_tick) { \
  11. write_seqlock(&xtime_lock); \
  12. if (system_timer->dyn_tick->state & DYN_TICK_ENABLED) \
  13. system_timer->dyn_tick->handler(irq, 0, regs); \
  14. write_sequnlock(&xtime_lock); \
  15. }
  16. #endif
  17. #endif