You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
482 B
20 lines
482 B
/*
|
|
* Nothing to see here yet
|
|
*/
|
|
#ifndef _ARCH_ARM_HW_IRQ_H
|
|
#define _ARCH_ARM_HW_IRQ_H
|
|
|
|
#include <asm/mach/irq.h>
|
|
|
|
#if defined(CONFIG_NO_IDLE_HZ)
|
|
# include <asm/dyntick.h>
|
|
# define handle_dynamic_tick(action) \
|
|
if (!(action->flags & IRQF_TIMER) && system_timer->dyn_tick) { \
|
|
write_seqlock(&xtime_lock); \
|
|
if (system_timer->dyn_tick->state & DYN_TICK_ENABLED) \
|
|
system_timer->dyn_tick->handler(irq, 0, regs); \
|
|
write_sequnlock(&xtime_lock); \
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|