kernel_optimize_test/arch/i386/kernel
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
..
acpi [ACPI] acpi_register_gsi() can return error 2005-08-04 22:12:08 -04:00
cpu [ACPI] Always set P-state on initialization 2005-07-29 18:29:47 -04:00
timers [CPUFREQ] Recalibrate cpu_khz [2/2] 2005-05-31 19:03:46 -07:00
apic.c
apm.c [PATCH] apm.c: ignore_normal_resume is set a bit too late 2005-06-14 07:19:35 -07:00
asm-offsets.c
bootflag.c
cpuid.c
dmi_scan.c
doublefault.c
early_printk.c
efi_stub.S
efi.c
entry.S
head.S
i386_ksyms.c [PATCH] x86_64: make string func definition work as intended 2005-05-05 16:36:33 -07:00
i387.c
i8259.c
init_task.c
io_apic.c
ioport.c
irq.c
kprobes.c [PATCH] Kprobes: Incorrect handling of probes on ret/lret instruction 2005-05-05 16:36:39 -07:00
ldt.c
Makefile [PATCH] Stop arch/i386/kernel/vsyscall-note.o being rebuilt every time 2005-06-08 16:21:13 -07:00
mca.c
microcode.c
module.c
mpparse.c
msr.c
nmi.c
numaq.c
pci-dma.c
process.c
ptrace.c
quirks.c
reboot_fixups.c
reboot.c
scx200.c
semaphore.c
setup.c [PATCH] acpi build fix: x86 setup.c 2005-05-31 14:54:17 -07:00
sigframe.h
signal.c
smp.c
smpboot.c [PATCH] x86: fix smp_num_siblings on buggy BIOSes 2005-05-28 11:14:00 -07:00
srat.c
summit.c
sys_i386.c
syscall_table.S
sysenter.c
time_hpet.c
time.c
trampoline.S
traps.c
vm86.c
vmlinux.lds.S
vsyscall-int80.S
vsyscall-note.S
vsyscall-sigreturn.S
vsyscall-sysenter.S
vsyscall.lds.S
vsyscall.S