[BACK]Return to hw_irq.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-arm

File: [Development] / linux-2.6-xfs / include / asm-arm / Attic / hw_irq.h (download)

Revision 1.1, Fri Oct 13 17:03:09 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN

Merge up to 2.6.18
Merge of 2.6.x-xfs-melb:linux:27192b by kenmcd.

/*
 * 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, 0, regs);	\
		write_sequnlock(&xtime_lock);				\
	}
#endif

#endif