| 
									
										
										
										
											2006-07-01 22:30:09 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Nothing to see here yet | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #ifndef _ARCH_ARM_HW_IRQ_H
 | 
					
						
							|  |  |  | #define _ARCH_ARM_HW_IRQ_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <asm/mach/irq.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-07-03 02:18:48 +02:00
										 |  |  | #if defined(CONFIG_NO_IDLE_HZ)
 | 
					
						
							|  |  |  | # include <asm/dyntick.h>
 | 
					
						
							|  |  |  | # define handle_dynamic_tick(action)					\
 | 
					
						
							| 
									
										
										
										
											2006-07-03 02:20:05 +02:00
										 |  |  | 	if (!(action->flags & IRQF_TIMER) && system_timer->dyn_tick) {	\ | 
					
						
							| 
									
										
										
										
											2006-07-03 02:18:48 +02:00
										 |  |  | 		write_seqlock(&xtime_lock);				\ | 
					
						
							|  |  |  | 		if (system_timer->dyn_tick->state & DYN_TICK_ENABLED)	\ | 
					
						
							| 
									
										
										
										
											2006-10-08 15:00:12 +01:00
										 |  |  | 			system_timer->dyn_tick->handler(irq, NULL);	\ | 
					
						
							| 
									
										
										
										
											2006-07-03 02:18:48 +02:00
										 |  |  | 		write_sequnlock(&xtime_lock);				\ | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-07-01 22:30:09 +01:00
										 |  |  | #endif
 |