OSDN Git Service

[PATCH] ACPI based I/O APIC hot-plug: add interfaces
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 28 Apr 2005 07:25:58 +0000 (00:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:44 +0000 (21:52 -0700)
commitb1bb248a5d2230a3d8ef42199c742194a8580b15
tree5335d22256e1c6f755f7aff01432ed2d5d722c9b
parent8d50e332c8bd4f4e8cc76e8ed7326aa6f18182aa
[PATCH] ACPI based I/O APIC hot-plug: add interfaces

This patch adds the following new interfaces for I/O xAPIC
hotplug. The implementation of these interfaces depends on each
architecture.

    o int acpi_register_ioapic(acpi_handle handle, u64 phys_addr,
       u32 gsi_base);

        This new interface is to add a new I/O xAPIC specified by
        phys_addr and gsi_base pair. phys_addr is the physical address
        to which the I/O xAPIC is mapped and gsi_base is global system
        interrupt base of the I/O xAPIC. acpi_register_ioapic returns
        0 on success, or negative value on error.

    o int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base);

        This new interface is to remove a I/O xAPIC specified by
        gsi_base. acpi_unregister_ioapic returns 0 on success, or
        negative value on error.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/kernel/acpi/boot.c
arch/ia64/kernel/acpi.c
include/linux/acpi.h