Staging
v0.5.2
https://github.com/torvalds/linux
Raw File
Tip revision: 19af35546de68c872dcb687613e0902a602cb20e authored by Linus Torvalds on 10 February 2008, 22:18:14 UTC
Linux 2.6.25-rc1
Tip revision: 19af355
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