]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: probe nr_irqs even only mptable is used
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:50:52 +0000 (20:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:58 +0000 (16:52 +0200)
commit9d6a4d0823b3b8e29156f5e698b5a68687afad32
treeb3a06b8392f8b451625ad64ad7d51b60456fb388
parent8f09cd20a24c5f13c571bc73ddcd47be0af3b70f
x86: probe nr_irqs even only mptable is used

for !CONFIG_HAVE_SPARSE_IRQ

fix:

 In file included from arch/x86/kernel/early-quirks.c:18:
 include/asm/io_apic.h: In function 'probe_nr_irqs':
 include/asm/io_apic.h:209: error: 'NR_IRQS' undeclared (first use in this function)
 include/asm/io_apic.h:209: error: (Each undeclared identifier is reported only once
 include/asm/io_apic.h:209: error: for each function it appears in.)

v2: fix by Ingo

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/io_apic.c
arch/x86/kernel/setup.c
include/asm-x86/io_apic.h
include/asm-x86/mpspec.h