Re: [Linux-ia64] Error compiling 2.4.20 for i386

From: Bjorn Helgaas <bjorn_helgaas_at_hp.com>
Date: 2003-01-22 04:39:25
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
  */
Received on Tue Jan 21 09:46:00 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST