Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux/fpc-iii.git] / arch / arc / include / asm / irq.h
blob291a70db68b8b0fa0d262a79d80d7e9be9681c0e
1 /*
2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #ifndef __ASM_ARC_IRQ_H
10 #define __ASM_ARC_IRQ_H
12 #define NR_CPU_IRQS 32 /* number of interrupt lines of ARC770 CPU */
13 #define NR_IRQS 128 /* allow some CPU external IRQ handling */
15 /* Platform Independent IRQs */
16 #define TIMER0_IRQ 3
17 #define TIMER1_IRQ 4
19 #include <asm-generic/irq.h>
21 extern void arc_init_IRQ(void);
22 extern int get_hw_config_num_irq(void);
24 void arc_local_timer_setup(unsigned int cpu);
26 #endif