From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Date: Tue, 21 Jan 2003 17:39:25 +0000 Subject: Re: [Linux-ia64] Error compiling 2.4.20 for i386 Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org On Thursday 16 January 2003 5:42 pm, Bahnsen, Bruce wrote: > I applied the ia64 patch to the 2.4.20 kernel (all from kernel.org). If I > try to compile i386 using the default config, I get the following compile > error: > > setup.c:792: `enable_acpi_smp_table' undeclared (first use in this function) I seem to have mistakenly removed the declaration. With the attached patch on top of 2.4.20-ia64-021210, I was able to build an i386 image (I didn't test it, though). I try not to gratuitously break other architectures, but when I do, I'm happy to include fixes like this if people are interested in doing them. Bjorn # This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.994 -> 1.995 # arch/i386/kernel/setup.c 1.59 -> 1.60 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/01/21 bjorn_helgaas@hp.com 1.995 # i386: Fix enable_acpi_smp_table merge botch. # -------------------------------------------- # diff -Nru a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c --- a/arch/i386/kernel/setup.c Tue Jan 21 10:19:48 2003 +++ b/arch/i386/kernel/setup.c Tue Jan 21 10:19:48 2003 @@ -175,6 +175,8 @@ static u32 disabled_x86_caps[NCAPINTS] __initdata = { 0 }; extern int blk_nohighio; +int enable_acpi_smp_table; + /* * This is set up by the setup-routine at boot-time */