[IA64] Enable percpu vector domain for IA64_DIG
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Tue, 17 Jul 2007 12:23:03 +0000 (21:23 +0900)
committerTony Luck <tony.luck@intel.com>
Tue, 17 Jul 2007 16:58:19 +0000 (09:58 -0700)
Add per-CPU vector domain support for IA64_DIG. It is enabled by
adding the "vector=percpu" boot option.

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>
arch/ia64/kernel/irq_ia64.c

index 5cb804f9a1ff7834ee76fbeb156a8899ccab8868..91797c11116218a254fdfe5496bbb19561ee9320 100644 (file)
@@ -267,7 +267,7 @@ void __setup_vector_irq(int cpu)
        }
 }
 
-#if defined(CONFIG_IA64_GENERIC)
+#if defined(CONFIG_SMP) && (defined(CONFIG_IA64_GENERIC) || defined(CONFIG_IA64_DIG))
 static enum vector_domain_type {
        VECTOR_DOMAIN_NONE,
        VECTOR_DOMAIN_PERCPU