[IA64] Properly unregister legacy interrupts
authorPrarit Bhargava <prarit@redhat.com>
Wed, 14 May 2008 16:00:24 +0000 (12:00 -0400)
committerTony Luck <tony.luck@intel.com>
Wed, 14 May 2008 23:00:14 +0000 (16:00 -0700)
commit3fb2c74ee20b77affd494c6b8ce7928d0ebbb62e
treef349e016efe512dd7bdb06b619bc0d1c9f46b35b
parent7af1d7532b6cf905230c72c67ad85a480b122374
[IA64] Properly unregister legacy interrupts

acpi_unregister_gsi() should "undo" what acpi_register_gsi() does.

On systems that have legacy interrupts, acpi_unregister_gsi erroneously calls
iosapci_unregister_intr() which is wrong to do and causes a loud warning.

acpi_unregister_gsi() should just return in these cases.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/acpi.c