Enable percpu vector domain for IA64_DIG
PATCH 12/12 Enable percpu vector domain for IA64_DIG
Add per-CPU vector domain support for IA64_DIG. It is enabled by adding the "vector=percpu" boot option.
Signed-off-by Kenji Kaneshige <[email protected]>
Signed-off-by Yasuaki Ishimatsu <[email protected]>
arch/ia64/kernel/irq_ia64.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.22/arch/ia64/kernel/irq_ia64.c
=================================--- linux-2.6.22.orig/arch/ia64/kernel/irq_ia64.c 2007-07-17 12:10:37.000000000 +0900
+++ linux-2.6.22/arch/ia64/kernel/irq_ia64.c 2007-07-17 12:10:44.000000000 +0900
@@ -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