x86, acpi/irq: Define gsi_end when X86_IO_APIC is undefined
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 5 May 2010 20:22:25 +0000 (13:22 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 6 May 2010 06:17:51 +0000 (08:17 +0200)
commit4f47b4c9f0b711bf84adb8c27774ae80d346b628
tree531887f2c6630d4b653c6e323bef16604943685e
parent7b20bd5fb902088579af4e70f7f802b93181a628
x86, acpi/irq: Define gsi_end when X86_IO_APIC is undefined

My recent changes introducing a global gsi_end variable
failed to take into account the case of using acpi on a system
not built to support IO_APICs, causing the build to fail.

Define gsi_end to 15 when CONFIG_X86_IO_APIC is not set to avoid
compile errors.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <m1tyqm14la.fsf_-_@fess.ebiederm.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/io_apic.h