diff options
-rw-r--r-- | arch/ia64/kernel/mca.c | 2 | ||||
-rw-r--r-- | arch/ia64/sn/kernel/irq.c | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index cc87025e8f54..10b48cd15a87 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
@@ -571,7 +571,7 @@ out: | |||
571 | * Outputs | 571 | * Outputs |
572 | * None | 572 | * None |
573 | */ | 573 | */ |
574 | static void __init | 574 | void |
575 | ia64_mca_register_cpev (int cpev) | 575 | ia64_mca_register_cpev (int cpev) |
576 | { | 576 | { |
577 | /* Register the CPE interrupt vector with SAL */ | 577 | /* Register the CPE interrupt vector with SAL */ |
diff --git a/arch/ia64/sn/kernel/irq.c b/arch/ia64/sn/kernel/irq.c index 0f9b12683bf3..53351c3cd7b1 100644 --- a/arch/ia64/sn/kernel/irq.c +++ b/arch/ia64/sn/kernel/irq.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * License. See the file "COPYING" in the main directory of this archive | 5 | * License. See the file "COPYING" in the main directory of this archive |
6 | * for more details. | 6 | * for more details. |
7 | * | 7 | * |
8 | * Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. | 8 | * Copyright (c) 2000-2007 Silicon Graphics, Inc. All Rights Reserved. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/irq.h> | 11 | #include <linux/irq.h> |
@@ -85,12 +85,18 @@ static void sn_shutdown_irq(unsigned int irq) | |||
85 | { | 85 | { |
86 | } | 86 | } |
87 | 87 | ||
88 | extern void ia64_mca_register_cpev(int); | ||
89 | |||
88 | static void sn_disable_irq(unsigned int irq) | 90 | static void sn_disable_irq(unsigned int irq) |
89 | { | 91 | { |
92 | if (irq == local_vector_to_irq(IA64_CPE_VECTOR)) | ||
93 | ia64_mca_register_cpev(0); | ||
90 | } | 94 | } |
91 | 95 | ||
92 | static void sn_enable_irq(unsigned int irq) | 96 | static void sn_enable_irq(unsigned int irq) |
93 | { | 97 | { |
98 | if (irq == local_vector_to_irq(IA64_CPE_VECTOR)) | ||
99 | ia64_mca_register_cpev(irq); | ||
94 | } | 100 | } |
95 | 101 | ||
96 | static void sn_ack_irq(unsigned int irq) | 102 | static void sn_ack_irq(unsigned int irq) |