[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080504172023.GA3858@elte.hu>
Date: Sun, 4 May 2008 19:20:23 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Toralf F?rster <toralf.foerster@....de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: build issue #487 for v2.6.26-rc1-6-gafa26be :undefined
reference to `es7000_plat'
* Toralf F?rster <toralf.foerster@....de> 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@...e.hu>
Date: Sat May 03 22:01:31 CEST 2008
Signed-off-by: Ingo Molnar <mingo@...e.hu>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists