]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - arch/ia64/kernel/acpi.c
[PATCH] Altix: more ACPI PRT support
[linux-3.10.git] / arch / ia64 / kernel / acpi.c
index ef2fe474f107319c90af67317de180162d22ed2b..29f05d4b68cdd7f17911f8b840838faa795be2c4 100644 (file)
@@ -609,6 +609,9 @@ EXPORT_SYMBOL(acpi_register_gsi);
 
 void acpi_unregister_gsi(u32 gsi)
 {
+       if (acpi_irq_model == ACPI_IRQ_MODEL_PLATFORM)
+               return;
+
        iosapic_unregister_intr(gsi);
 }