blob: ea856971989a261e3127678ce0d5d06bd68a5795 [file] [log] [blame]
Thomas Gleixner4a2581a2006-07-01 22:30:09 +01001/*
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 Gleixnerd061daa2006-07-03 02:18:48 +02009#if defined(CONFIG_NO_IDLE_HZ)
10# include <asm/dyntick.h>
11# define handle_dynamic_tick(action) \
Thomas Gleixner52e405e2006-07-03 02:20:05 +020012 if (!(action->flags & IRQF_TIMER) && system_timer->dyn_tick) { \
Thomas Gleixnerd061daa2006-07-03 02:18:48 +020013 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
Thomas Gleixner4a2581a2006-07-01 22:30:09 +010020#endif