lkml.org 
[lkml]   [2008]   [Jan]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateThu, 17 Jan 2008 19:04:03 +0530
FromKamalesh Babulal <>
SubjectRe: 2.6.24-rc8-mm1
Hi Andrew,

The kernel build fails with following error

arch/x86/kernel/mpparse_32.c: In function `smp_read_mpc_oem':
arch/x86/kernel/mpparse_32.c:318: error: `oemtable' undeclared (first use in this function)
arch/x86/kernel/mpparse_32.c:318: error: (Each undeclared identifier is reported only once
arch/x86/kernel/mpparse_32.c:318: error: for each function it appears in.)
arch/x86/kernel/mpparse_32.c:332: error: `mpc_phys' undeclared (first use in this function)


This patch is build tested only.


Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
---
--- linux-2.6.24-rc8/arch/x86/kernel/mpparse_32.c	2008-01-17 18:02:45.000000000 +0530
+++ linux-2.6.24-rc8/arch/x86/kernel/~mpparse_32.c	2008-01-17 18:17:29.000000000 +0530
@@ -32,6 +32,7 @@
 #include <mach_apic.h>
 #include <mach_apicdef.h>
 #include <mach_mpparse.h>
+#include <asm/mpspec_def.h>
 
 /* Have we found an MP table */
 int smp_found_config;
@@ -329,7 +330,7 @@ static void __init smp_read_mpc_oem(unsi
 	oem_length = oemtable->oem_length;
 	/* Unmap header and map full base table */
 	early_iounmap(oemtable, sizeof(struct mp_config_oemtable));
-	oemtable = (struct mp_config_oemtable *)early_ioremap(mpc_phys,
+	oemtable = (struct mp_config_oemtable *)early_ioremap(oemtable_phys,
 					oem_length);
 	if (!oemtable) {
 		printk("MPTABLE: full oemtable map error!\n");

\
 
 \ /
  Last update: 2008-01-17 14:37    [from the cache]
©2003-2008