Thomas Gleixner | 4a2581a | 2006-07-01 22:30:09 +0100 | [diff] [blame] | 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 | |
Thomas Gleixner | d061daa | 2006-07-03 02:18:48 +0200 | [diff] [blame] | 9 | #if defined(CONFIG_NO_IDLE_HZ) |
| 10 | # include <asm/dyntick.h> |
| 11 | # define handle_dynamic_tick(action) \ |
Thomas Gleixner | 52e405e | 2006-07-03 02:20:05 +0200 | [diff] [blame] | 12 | if (!(action->flags & IRQF_TIMER) && system_timer->dyn_tick) { \ |
Thomas Gleixner | d061daa | 2006-07-03 02:18:48 +0200 | [diff] [blame] | 13 | write_seqlock(&xtime_lock); \ |
| 14 | if (system_timer->dyn_tick->state & DYN_TICK_ENABLED) \ |
Al Viro | 2843114 | 2006-10-08 15:00:12 +0100 | [diff] [blame] | 15 | system_timer->dyn_tick->handler(irq, NULL); \ |
Thomas Gleixner | d061daa | 2006-07-03 02:18:48 +0200 | [diff] [blame] | 16 | write_sequnlock(&xtime_lock); \ |
| 17 | } |
| 18 | #endif |
| 19 | |
Thomas Gleixner | 4a2581a | 2006-07-01 22:30:09 +0100 | [diff] [blame] | 20 | #endif |