Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=72253943f7281fc5c6249d9cafd63e7de3266fe9
Commit:     72253943f7281fc5c6249d9cafd63e7de3266fe9
Parent:     b2e895dbd80c420bfc0937c3729b4afe073b3848
Author:     John Keller <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 3 01:14:02 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sat Feb 3 11:26:06 2007 -0800

    [PATCH] Altix: more ACPI PRT support
    
    The SN Altix platform does not conform to the IOSAPIC IRQ routing model.
    Add code in acpi_unregister_gsi() to check if (acpi_irq_model ==
    ACPI_IRQ_MODEL_PLATFORM) and return.
    
    Due to an oversight, this code was not added previously when
    similar code was added to acpi_register_gsi().
    
    http://marc.theaimsgroup.com/?l=linux-acpi&m=116680983430121&w=2
    
    Signed-off-by: John Keller <[EMAIL PROTECTED]>
    Acked-by: Len Brown <[EMAIL PROTECTED]>
    Cc: "Luck, Tony" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/acpi.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index ef2fe47..29f05d4 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -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);
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to