Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 40ffbfad6bb79a99cc7627bdaca0ee22dec526f6 authored by Linus Torvalds on 01 September 2007, 06:08:24 UTC
Linux 2.6.23-rc5
Tip revision: 40ffbfa
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