summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/irq.h
diff options
context:
space:
mode:
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>2007-07-17 21:22:33 +0900
committerTony Luck <tony.luck@intel.com>2007-07-17 09:52:13 -0700
commit4994be1b3fe9120c88022ff5c0c33f6312b17adb (patch)
treeb4d32c77681029d2b5dfd94b0eb5a09be0ccae9e /include/asm-ia64/irq.h
parente1b30a392835e92581db09a4e8b4b2ad53a0c370 (diff)
downloadop-kernel-dev-4994be1b3fe9120c88022ff5c0c33f6312b17adb.zip
op-kernel-dev-4994be1b3fe9120c88022ff5c0c33f6312b17adb.tar.gz
[IA64] Add support for vector domain
Add fundamental support for multiple vector domain. There still exists only one vector domain even with this patch. IRQ migration across domain is not supported yet by this patch. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/irq.h')
-rw-r--r--include/asm-ia64/irq.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asm-ia64/irq.h b/include/asm-ia64/irq.h
index 6722161..35b360b 100644
--- a/include/asm-ia64/irq.h
+++ b/include/asm-ia64/irq.h
@@ -14,8 +14,13 @@
#include <linux/types.h>
#include <linux/cpumask.h>
-#define NR_IRQS 256
-#define NR_IRQ_VECTORS NR_IRQS
+#define NR_VECTORS 256
+
+#if (NR_VECTORS + 32 * NR_CPUS) < 1024
+#define NR_IRQS (NR_VECTORS + 32 * NR_CPUS)
+#else
+#define NR_IRQS 1024
+#endif
static __inline__ int
irq_canonicalize (int irq)
OpenPOWER on IntegriCloud