| 
									
										
										
										
											2013-01-18 15:12:18 +05:30
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License version 2 as | 
					
						
							|  |  |  |  * published by the Free Software Foundation. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __ASM_ARC_IRQ_H
 | 
					
						
							|  |  |  | #define __ASM_ARC_IRQ_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-04-11 15:19:39 +02:00
										 |  |  | #define NR_CPU_IRQS	32  /* number of interrupt lines of ARC770 CPU */
 | 
					
						
							|  |  |  | #define NR_IRQS		128 /* allow some CPU external IRQ handling */
 | 
					
						
							| 
									
										
										
										
											2013-01-18 15:12:26 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-18 15:12:18 +05:30
										 |  |  | /* Platform Independent IRQs */ | 
					
						
							|  |  |  | #define TIMER0_IRQ      3
 | 
					
						
							|  |  |  | #define TIMER1_IRQ      4
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-05-07 15:25:10 +05:30
										 |  |  | #include <linux/interrupt.h>
 | 
					
						
							| 
									
										
										
										
											2013-01-18 15:12:18 +05:30
										 |  |  | #include <asm-generic/irq.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-10-23 10:12:05 +08:00
										 |  |  | extern void arc_init_IRQ(void); | 
					
						
							| 
									
										
										
										
											2014-05-08 14:06:38 +05:30
										 |  |  | void arc_local_timer_setup(void); | 
					
						
							| 
									
										
										
										
											2014-05-07 15:25:10 +05:30
										 |  |  | void arc_request_percpu_irq(int irq, int cpu, | 
					
						
							|  |  |  |                             irqreturn_t (*isr)(int irq, void *dev), | 
					
						
							|  |  |  |                             const char *irq_nm, void *percpu_dev); | 
					
						
							| 
									
										
										
										
											2013-01-18 15:12:18 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-01-18 15:12:18 +05:30
										 |  |  | #endif
 |