forked from luck/tmp_suning_uos_patched
d061daa0e3
Linus: "The hacks in kernel/irq/handle.c are really horrid. REALLY horrid." They are indeed. Move the dyntick quirks to ARM where they belong. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 lines
480 B
C
21 lines
480 B
C
/*
|
|
* 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 & SA_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
|