Re: build issue #487 for v2.6.26-rc1-6-gafa26be :undefinedreference to `es7000_plat'

From: Ingo Molnar
Date: Sun May 04 2008 - 13:20:49 EST



* Toralf F?rster <toralf.foerster@xxxxxx> wrote:

> Hello,
>
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/x86/mach-generic/built-in.o: In function `es7000_rename_gsi':
> es7000plat.c:(.text+0xb52): undefined reference to `es7000_plat'

fix for that got queued in x86.git yesterday - see below.

Ingo

------------------->
Subject: x86: es7000 build fix
From: Ingo Molnar <mingo@xxxxxxx>
Date: Sat May 03 22:01:31 CEST 2008

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
arch/x86/kernel/mpparse.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Index: linux-x86.q/arch/x86/kernel/mpparse.c
===================================================================
--- linux-x86.q.orig/arch/x86/kernel/mpparse.c
+++ linux-x86.q/arch/x86/kernel/mpparse.c
@@ -794,6 +794,11 @@ void __init find_smp_config(void)
ACPI-based MP Configuration
-------------------------------------------------------------------------- */

+/*
+ * Keep this outside and initialized to 0, for !CONFIG_ACPI builds:
+ */
+int es7000_plat;
+
#ifdef CONFIG_ACPI

#ifdef CONFIG_X86_IO_APIC
@@ -909,8 +914,6 @@ void __init mp_override_legacy_irq(u8 bu
MP_intsrc_info(&intsrc);
}

-int es7000_plat;
-
void __init mp_config_acpi_legacy_irqs(void)
{
struct mpc_config_intsrc intsrc;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/