[PATCH] genirq: ARM dyntick cleanup
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>
This commit is contained in:

committed by
Linus Torvalds

parent
f82bc1762e
commit
d061daa0e3
@@ -6,4 +6,15 @@
|
||||
|
||||
#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
|
||||
|
Reference in New Issue
Block a user