Blame view

include/asm-arm/hw_irq.h 479 Bytes
4a2581a08   Thomas Gleixner   [ARM] 3692/1: ARM...
1
2
3
4
5
6
7
  /*
   * Nothing to see here yet
   */
  #ifndef _ARCH_ARM_HW_IRQ_H
  #define _ARCH_ARM_HW_IRQ_H
  
  #include <asm/mach/irq.h>
d061daa0e   Thomas Gleixner   [PATCH] genirq: A...
8
9
10
  #if defined(CONFIG_NO_IDLE_HZ)
  # include <asm/dyntick.h>
  # define handle_dynamic_tick(action)					\
52e405eaa   Thomas Gleixner   [PATCH] ARM: fixu...
11
  	if (!(action->flags & IRQF_TIMER) && system_timer->dyn_tick) {	\
d061daa0e   Thomas Gleixner   [PATCH] genirq: A...
12
13
  		write_seqlock(&xtime_lock);				\
  		if (system_timer->dyn_tick->state & DYN_TICK_ENABLED)	\
284311469   Al Viro   [PATCH] misc arm ...
14
  			system_timer->dyn_tick->handler(irq, NULL);	\
d061daa0e   Thomas Gleixner   [PATCH] genirq: A...
15
16
17
  		write_sequnlock(&xtime_lock);				\
  	}
  #endif
4a2581a08   Thomas Gleixner   [ARM] 3692/1: ARM...
18
  #endif