blob: 98d594a973d6c821d5314afb6c13c08d22871fd1 [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) \
Al Viro28431142006-10-08 15:00:12 +010015 system_timer->dyn_tick->handler(irq, NULL); \
Thomas Gleixnerd061daa2006-07-03 02:18:48 +020016 write_sequnlock(&xtime_lock); \
17 }
18#endif
19
Thomas Gleixner4a2581a2006-07-01 22:30:09 +010020#endif