• Kenji Kaneshige's avatar
    [PATCH] IRQ resource deallocation: ia64 · 5d25c798
    Kenji Kaneshige authored
    This is an ia64 portion of IRQ resource deallocation. It implements
    pcibios_disable_device() and acpi_unregister_gsi() for ia64.
    
        o acpi_unregister_gsi()
    
            Summary of changes for implementing this interface:
    
            - Add new function iosapic_unregister_intr() into
              arch/ia64/kernel/iosapic.c. This function frees an interrupt
              vector and related data structures.
    
            - Add new function free_irq_vector() into
              arch/ia64/kernel/irq_ia64.c. This frees an unused vector.
    
            - Change assign_irq_vector() to be able to support
              free_irq_vector().
    
        o pcibios_disable_device()
    
            This calls acpi_pci_irq_disable() to deallocate IRQ resources.
    Signed-off-by: default avatarKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    5d25c798
irq_ia64.c 6.65 KB