kernel-ark/arch/ia64
Kenji Kaneshige 1f3a6a1577 [ACPI] acpi_register_gsi() can return error
Current acpi_register_gsi() function has no way to indicate errors to its
callers even though acpi_register_gsi() can fail to register gsi because of
some reasons (out of memory, lack of interrupt vectors, incorrect BIOS, and so
on).  As a result, caller of acpi_register_gsi() cannot handle the case that
acpi_register_gsi() fails.  I think failure of acpi_register_gsi() should be
handled properly.

This series of patches changes acpi_register_gsi() to return negative value on
error, and also changes callers of acpi_register_gsi() to handle failure of
acpi_register_gsi().

This patch changes the type of return value of acpi_register_gsi() from
"unsigned int" to "int" to indicate an error.  If acpi_register_gsi() fails to
register gsi, it returns negative value.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2005-08-04 22:12:08 -04:00
..
configs
dig
hp
ia32 [IA64] fix compilation warning in sys32_epoll_wait() 2005-06-01 15:44:01 -07:00
kernel [ACPI] acpi_register_gsi() can return error 2005-08-04 22:12:08 -04:00
lib
mm [IA64] Fill holes in FIXADDR_USER space with zero pages. 2005-06-08 10:58:21 -07:00
oprofile
pci
scripts
sn [IA64] fix setting of sn_hub_info->shub_1_1_found 2005-06-03 12:37:53 -07:00
defconfig
install.sh
Kconfig
Kconfig.debug
Makefile
module.lds