diff options
| -rw-r--r-- | arch/ia64/Kconfig | 5 | ||||
| -rw-r--r-- | arch/ia64/configs/sn2_defconfig | 1 | ||||
| -rw-r--r-- | arch/ia64/configs/tiger_defconfig | 1 | ||||
| -rw-r--r-- | arch/ia64/configs/zx1_defconfig | 1 | ||||
| -rw-r--r-- | arch/ia64/defconfig | 1 | ||||
| -rw-r--r-- | arch/ia64/kernel/acpi.c | 2 | ||||
| -rw-r--r-- | arch/ia64/kernel/iosapic.c | 2 | ||||
| -rw-r--r-- | arch/ia64/pci/pci.c | 2 | ||||
| -rw-r--r-- | include/asm-ia64/iosapic.h | 2 |
9 files changed, 0 insertions, 17 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 3deced637f07..d0743c6da6d8 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
| @@ -338,11 +338,6 @@ config IA64_PALINFO | |||
| 338 | To use this option, you have to ensure that the "/proc file system | 338 | To use this option, you have to ensure that the "/proc file system |
| 339 | support" (CONFIG_PROC_FS) is enabled, too. | 339 | support" (CONFIG_PROC_FS) is enabled, too. |
| 340 | 340 | ||
| 341 | config ACPI_DEALLOCATE_IRQ | ||
| 342 | bool | ||
| 343 | depends on IOSAPIC && EXPERIMENTAL | ||
| 344 | default y | ||
| 345 | |||
| 346 | source "drivers/firmware/Kconfig" | 341 | source "drivers/firmware/Kconfig" |
| 347 | 342 | ||
| 348 | source "fs/Kconfig.binfmt" | 343 | source "fs/Kconfig.binfmt" |
diff --git a/arch/ia64/configs/sn2_defconfig b/arch/ia64/configs/sn2_defconfig index dccf35c60b94..5f1cceb590cd 100644 --- a/arch/ia64/configs/sn2_defconfig +++ b/arch/ia64/configs/sn2_defconfig | |||
| @@ -111,7 +111,6 @@ CONFIG_COMPAT=y | |||
| 111 | CONFIG_IA64_MCA_RECOVERY=y | 111 | CONFIG_IA64_MCA_RECOVERY=y |
| 112 | CONFIG_PERFMON=y | 112 | CONFIG_PERFMON=y |
| 113 | CONFIG_IA64_PALINFO=y | 113 | CONFIG_IA64_PALINFO=y |
| 114 | CONFIG_ACPI_DEALLOCATE_IRQ=y | ||
| 115 | 114 | ||
| 116 | # | 115 | # |
| 117 | # Firmware Drivers | 116 | # Firmware Drivers |
diff --git a/arch/ia64/configs/tiger_defconfig b/arch/ia64/configs/tiger_defconfig index c853cfcd2d11..d536ec7f129c 100644 --- a/arch/ia64/configs/tiger_defconfig +++ b/arch/ia64/configs/tiger_defconfig | |||
| @@ -109,7 +109,6 @@ CONFIG_COMPAT=y | |||
| 109 | CONFIG_IA64_MCA_RECOVERY=y | 109 | CONFIG_IA64_MCA_RECOVERY=y |
| 110 | CONFIG_PERFMON=y | 110 | CONFIG_PERFMON=y |
| 111 | CONFIG_IA64_PALINFO=y | 111 | CONFIG_IA64_PALINFO=y |
| 112 | CONFIG_ACPI_DEALLOCATE_IRQ=y | ||
| 113 | 112 | ||
| 114 | # | 113 | # |
| 115 | # Firmware Drivers | 114 | # Firmware Drivers |
diff --git a/arch/ia64/configs/zx1_defconfig b/arch/ia64/configs/zx1_defconfig index 88e8867fa8e8..d569036a4cea 100644 --- a/arch/ia64/configs/zx1_defconfig +++ b/arch/ia64/configs/zx1_defconfig | |||
| @@ -109,7 +109,6 @@ CONFIG_COMPAT=y | |||
| 109 | CONFIG_IA64_MCA_RECOVERY=y | 109 | CONFIG_IA64_MCA_RECOVERY=y |
| 110 | CONFIG_PERFMON=y | 110 | CONFIG_PERFMON=y |
| 111 | CONFIG_IA64_PALINFO=y | 111 | CONFIG_IA64_PALINFO=y |
| 112 | CONFIG_ACPI_DEALLOCATE_IRQ=y | ||
| 113 | 112 | ||
| 114 | # | 113 | # |
| 115 | # Firmware Drivers | 114 | # Firmware Drivers |
diff --git a/arch/ia64/defconfig b/arch/ia64/defconfig index 8444add76380..e3a907bd960e 100644 --- a/arch/ia64/defconfig +++ b/arch/ia64/defconfig | |||
| @@ -99,7 +99,6 @@ CONFIG_COMPAT=y | |||
| 99 | CONFIG_IA64_MCA_RECOVERY=y | 99 | CONFIG_IA64_MCA_RECOVERY=y |
| 100 | CONFIG_PERFMON=y | 100 | CONFIG_PERFMON=y |
| 101 | CONFIG_IA64_PALINFO=y | 101 | CONFIG_IA64_PALINFO=y |
| 102 | CONFIG_ACPI_DEALLOCATE_IRQ=y | ||
| 103 | 102 | ||
| 104 | # | 103 | # |
| 105 | # Firmware Drivers | 104 | # Firmware Drivers |
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 9609f243e5d0..66970d7b6c87 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
| @@ -575,14 +575,12 @@ acpi_register_gsi (u32 gsi, int edge_level, int active_high_low) | |||
| 575 | } | 575 | } |
| 576 | EXPORT_SYMBOL(acpi_register_gsi); | 576 | EXPORT_SYMBOL(acpi_register_gsi); |
| 577 | 577 | ||
| 578 | #ifdef CONFIG_ACPI_DEALLOCATE_IRQ | ||
| 579 | void | 578 | void |
| 580 | acpi_unregister_gsi (u32 gsi) | 579 | acpi_unregister_gsi (u32 gsi) |
| 581 | { | 580 | { |
| 582 | iosapic_unregister_intr(gsi); | 581 | iosapic_unregister_intr(gsi); |
| 583 | } | 582 | } |
| 584 | EXPORT_SYMBOL(acpi_unregister_gsi); | 583 | EXPORT_SYMBOL(acpi_unregister_gsi); |
| 585 | #endif /* CONFIG_ACPI_DEALLOCATE_IRQ */ | ||
| 586 | 584 | ||
| 587 | static int __init | 585 | static int __init |
| 588 | acpi_parse_fadt (unsigned long phys_addr, unsigned long size) | 586 | acpi_parse_fadt (unsigned long phys_addr, unsigned long size) |
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index 7936b62f7a2e..c0c3f55b0231 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
| @@ -776,7 +776,6 @@ again: | |||
| 776 | return vector; | 776 | return vector; |
| 777 | } | 777 | } |
| 778 | 778 | ||
| 779 | #ifdef CONFIG_ACPI_DEALLOCATE_IRQ | ||
| 780 | void | 779 | void |
| 781 | iosapic_unregister_intr (unsigned int gsi) | 780 | iosapic_unregister_intr (unsigned int gsi) |
| 782 | { | 781 | { |
| @@ -859,7 +858,6 @@ iosapic_unregister_intr (unsigned int gsi) | |||
| 859 | spin_unlock(&iosapic_lock); | 858 | spin_unlock(&iosapic_lock); |
| 860 | spin_unlock_irqrestore(&idesc->lock, flags); | 859 | spin_unlock_irqrestore(&idesc->lock, flags); |
| 861 | } | 860 | } |
| 862 | #endif /* CONFIG_ACPI_DEALLOCATE_IRQ */ | ||
| 863 | 861 | ||
| 864 | /* | 862 | /* |
| 865 | * ACPI calls this when it finds an entry for a platform interrupt. | 863 | * ACPI calls this when it finds an entry for a platform interrupt. |
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index 9977c122e9fa..9b5de589b82f 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c | |||
| @@ -498,13 +498,11 @@ pcibios_enable_device (struct pci_dev *dev, int mask) | |||
| 498 | return acpi_pci_irq_enable(dev); | 498 | return acpi_pci_irq_enable(dev); |
| 499 | } | 499 | } |
| 500 | 500 | ||
| 501 | #ifdef CONFIG_ACPI_DEALLOCATE_IRQ | ||
| 502 | void | 501 | void |
| 503 | pcibios_disable_device (struct pci_dev *dev) | 502 | pcibios_disable_device (struct pci_dev *dev) |
| 504 | { | 503 | { |
| 505 | acpi_pci_irq_disable(dev); | 504 | acpi_pci_irq_disable(dev); |
| 506 | } | 505 | } |
| 507 | #endif /* CONFIG_ACPI_DEALLOCATE_IRQ */ | ||
| 508 | 506 | ||
| 509 | void | 507 | void |
| 510 | pcibios_align_resource (void *data, struct resource *res, | 508 | pcibios_align_resource (void *data, struct resource *res, |
diff --git a/include/asm-ia64/iosapic.h b/include/asm-ia64/iosapic.h index a429fe225b07..9a18820f22a2 100644 --- a/include/asm-ia64/iosapic.h +++ b/include/asm-ia64/iosapic.h | |||
| @@ -83,9 +83,7 @@ extern int gsi_to_irq (unsigned int gsi); | |||
| 83 | extern void iosapic_enable_intr (unsigned int vector); | 83 | extern void iosapic_enable_intr (unsigned int vector); |
| 84 | extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity, | 84 | extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity, |
| 85 | unsigned long trigger); | 85 | unsigned long trigger); |
| 86 | #ifdef CONFIG_ACPI_DEALLOCATE_IRQ | ||
| 87 | extern void iosapic_unregister_intr (unsigned int irq); | 86 | extern void iosapic_unregister_intr (unsigned int irq); |
| 88 | #endif | ||
| 89 | extern void __init iosapic_override_isa_irq (unsigned int isa_irq, unsigned int gsi, | 87 | extern void __init iosapic_override_isa_irq (unsigned int isa_irq, unsigned int gsi, |
| 90 | unsigned long polarity, | 88 | unsigned long polarity, |
| 91 | unsigned long trigger); | 89 | unsigned long trigger); |
