diff options
Diffstat (limited to 'arch/ia64/kernel/mca.c')
| -rw-r--r-- | arch/ia64/kernel/mca.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index 6a0880639bc9..eb8e8dc5ac8e 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
| @@ -55,7 +55,6 @@ | |||
| 55 | * 2005-10-07 Keith Owens <kaos@sgi.com> | 55 | * 2005-10-07 Keith Owens <kaos@sgi.com> |
| 56 | * Add notify_die() hooks. | 56 | * Add notify_die() hooks. |
| 57 | */ | 57 | */ |
| 58 | #include <linux/config.h> | ||
| 59 | #include <linux/types.h> | 58 | #include <linux/types.h> |
| 60 | #include <linux/init.h> | 59 | #include <linux/init.h> |
| 61 | #include <linux/sched.h> | 60 | #include <linux/sched.h> |
| @@ -1458,38 +1457,38 @@ __setup("disable_cpe_poll", ia64_mca_disable_cpe_polling); | |||
| 1458 | 1457 | ||
| 1459 | static struct irqaction cmci_irqaction = { | 1458 | static struct irqaction cmci_irqaction = { |
| 1460 | .handler = ia64_mca_cmc_int_handler, | 1459 | .handler = ia64_mca_cmc_int_handler, |
| 1461 | .flags = SA_INTERRUPT, | 1460 | .flags = IRQF_DISABLED, |
| 1462 | .name = "cmc_hndlr" | 1461 | .name = "cmc_hndlr" |
| 1463 | }; | 1462 | }; |
| 1464 | 1463 | ||
| 1465 | static struct irqaction cmcp_irqaction = { | 1464 | static struct irqaction cmcp_irqaction = { |
| 1466 | .handler = ia64_mca_cmc_int_caller, | 1465 | .handler = ia64_mca_cmc_int_caller, |
| 1467 | .flags = SA_INTERRUPT, | 1466 | .flags = IRQF_DISABLED, |
| 1468 | .name = "cmc_poll" | 1467 | .name = "cmc_poll" |
| 1469 | }; | 1468 | }; |
| 1470 | 1469 | ||
| 1471 | static struct irqaction mca_rdzv_irqaction = { | 1470 | static struct irqaction mca_rdzv_irqaction = { |
| 1472 | .handler = ia64_mca_rendez_int_handler, | 1471 | .handler = ia64_mca_rendez_int_handler, |
| 1473 | .flags = SA_INTERRUPT, | 1472 | .flags = IRQF_DISABLED, |
| 1474 | .name = "mca_rdzv" | 1473 | .name = "mca_rdzv" |
| 1475 | }; | 1474 | }; |
| 1476 | 1475 | ||
| 1477 | static struct irqaction mca_wkup_irqaction = { | 1476 | static struct irqaction mca_wkup_irqaction = { |
| 1478 | .handler = ia64_mca_wakeup_int_handler, | 1477 | .handler = ia64_mca_wakeup_int_handler, |
| 1479 | .flags = SA_INTERRUPT, | 1478 | .flags = IRQF_DISABLED, |
| 1480 | .name = "mca_wkup" | 1479 | .name = "mca_wkup" |
| 1481 | }; | 1480 | }; |
| 1482 | 1481 | ||
| 1483 | #ifdef CONFIG_ACPI | 1482 | #ifdef CONFIG_ACPI |
| 1484 | static struct irqaction mca_cpe_irqaction = { | 1483 | static struct irqaction mca_cpe_irqaction = { |
| 1485 | .handler = ia64_mca_cpe_int_handler, | 1484 | .handler = ia64_mca_cpe_int_handler, |
| 1486 | .flags = SA_INTERRUPT, | 1485 | .flags = IRQF_DISABLED, |
| 1487 | .name = "cpe_hndlr" | 1486 | .name = "cpe_hndlr" |
| 1488 | }; | 1487 | }; |
| 1489 | 1488 | ||
| 1490 | static struct irqaction mca_cpep_irqaction = { | 1489 | static struct irqaction mca_cpep_irqaction = { |
| 1491 | .handler = ia64_mca_cpe_int_caller, | 1490 | .handler = ia64_mca_cpe_int_caller, |
| 1492 | .flags = SA_INTERRUPT, | 1491 | .flags = IRQF_DISABLED, |
| 1493 | .name = "cpe_poll" | 1492 | .name = "cpe_poll" |
| 1494 | }; | 1493 | }; |
| 1495 | #endif /* CONFIG_ACPI */ | 1494 | #endif /* CONFIG_ACPI */ |
| @@ -1788,7 +1787,7 @@ ia64_mca_late_init(void) | |||
| 1788 | cpe_poll_enabled = 0; | 1787 | cpe_poll_enabled = 0; |
| 1789 | for (irq = 0; irq < NR_IRQS; ++irq) | 1788 | for (irq = 0; irq < NR_IRQS; ++irq) |
| 1790 | if (irq_to_vector(irq) == cpe_vector) { | 1789 | if (irq_to_vector(irq) == cpe_vector) { |
| 1791 | desc = irq_descp(irq); | 1790 | desc = irq_desc + irq; |
| 1792 | desc->status |= IRQ_PER_CPU; | 1791 | desc->status |= IRQ_PER_CPU; |
| 1793 | setup_irq(irq, &mca_cpe_irqaction); | 1792 | setup_irq(irq, &mca_cpe_irqaction); |
| 1794 | ia64_cpe_irq = irq; | 1793 | ia64_cpe_irq = irq; |
