Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73418
b: refs/heads/master
c: 1f3b604
h: refs/heads/master
v: v3
  • Loading branch information
Russ Anderson authored and Tony Luck committed Nov 6, 2007
1 parent 18ed6a1 commit 6ceeb3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adb34022eb7a11126fecef6b5abb4741a17360c6
refs/heads/master: 1f3b6045f783ee394076ad6dba2d72ecaaecd243
2 changes: 1 addition & 1 deletion trunk/arch/ia64/kernel/mca.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ ia64_mca_cpe_int_handler (int cpe_irq, void *arg)
* Outputs
* None
*/
static void __init
void
ia64_mca_register_cpev (int cpev)
{
/* Register the CPE interrupt vector with SAL */
Expand Down
8 changes: 7 additions & 1 deletion trunk/arch/ia64/sn/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-2007 Silicon Graphics, Inc. All Rights Reserved.
*/

#include <linux/irq.h>
Expand Down Expand Up @@ -85,12 +85,18 @@ static void sn_shutdown_irq(unsigned int irq)
{
}

extern void ia64_mca_register_cpev(int);

static void sn_disable_irq(unsigned int irq)
{
if (irq == local_vector_to_irq(IA64_CPE_VECTOR))
ia64_mca_register_cpev(0);
}

static void sn_enable_irq(unsigned int irq)
{
if (irq == local_vector_to_irq(IA64_CPE_VECTOR))
ia64_mca_register_cpev(irq);
}

static void sn_ack_irq(unsigned int irq)
Expand Down

0 comments on commit 6ceeb3d

Please sign in to comment.