ARC: [intc-*]: confine NR_CPU_IRQS to intc code
[linux-2.6-block.git] / arch / arc / include / asm / irq.h
CommitLineData
bacdf480
VG
1/*
2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3 *
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 */
8
9#ifndef __ASM_ARC_IRQ_H
10#define __ASM_ARC_IRQ_H
11
a37cdacc 12#define NR_IRQS 128 /* allow some CPU external IRQ handling */
decae9d3 13
88555cc5
VG
14/* Platform Independent IRQs */
15#ifdef CONFIG_ISA_ARCV2
16#define IPI_IRQ 19
17#define SOFTIRQ_IRQ 21
18#endif
19
2b75c0f9 20#include <linux/interrupt.h>
bacdf480
VG
21#include <asm-generic/irq.h>
22
ef3a661a 23extern void arc_init_IRQ(void);
d8005e6b 24
bacdf480 25#endif