[PATCH][2.4.27-pre6] x86_64 bluesmoke linkage error

From: Mikael Pettersson
Date: Sat Jun 19 2004 - 06:21:58 EST


Andi,

2.4.27-pre6 changed arch/x86_64/kernel/bluesmoke.c to
reference safe_smp_processor_id(), causing a linkage
error in UP kernels. Fixed by including <asm/smp.h>.

/Mikael

--- linux-2.4.27-pre6/arch/x86_64/kernel/bluesmoke.c.~1~ 2004-06-19 12:36:05.000000000 +0200
+++ linux-2.4.27-pre6/arch/x86_64/kernel/bluesmoke.c 2004-06-19 13:05:37.000000000 +0200
@@ -19,6 +19,7 @@
#include <asm/processor.h>
#include <asm/msr.h>
#include <asm/kdebug.h>
+#include <asm/smp.h>

static int mce_disabled __initdata;
static unsigned long mce_cpus;
-
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/