Re: 2.6.24-rc8-mm1
- From: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 17 Jan 2008 19:04:03 +0530
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@xxxxxxxxxxxxxxxxxx>
---
--- 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");
--
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/
- Follow-Ups:
- Re: 2.6.24-rc8-mm1
- From: Ingo Molnar
- Re: 2.6.24-rc8-mm1
- References:
- 2.6.24-rc8-mm1
- From: Andrew Morton
- 2.6.24-rc8-mm1
- Prev by Date: Re: [PATCH -v5 2/2] Updating ctime and mtime at syncing
- Next by Date: Re: [PATCH -v5 2/2] Updating ctime and mtime at syncing
- Previous by thread: Re: [-mm Patch] UML: fix a building error
- Next by thread: Re: 2.6.24-rc8-mm1
- Index(es):
Relevant Pages
|
|