Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: f695baf2df9e0413d3521661070103711545207a authored by Linus Torvalds on 22 July 2007, 20:41:00 UTC
Linux 2.6.23-rc1
Tip revision: f695baf
hw_irq.h
/*
 * 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, NULL);	\
		write_sequnlock(&xtime_lock);				\
	}
#endif

#endif
back to top