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