aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mpparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
-rw-r--r--arch/x86/kernel/mpparse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c
index 651c93b28862..b2179fdf0ff7 100644
--- a/arch/x86/kernel/mpparse.c
+++ b/arch/x86/kernel/mpparse.c
@@ -320,8 +320,7 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
320 /* 320 /*
321 * Now process the configuration blocks. 321 * Now process the configuration blocks.
322 */ 322 */
323 if (x86_quirks->mpc_record) 323 x86_init.mpparse.mpc_record(0);
324 *x86_quirks->mpc_record = 0;
325 324
326 while (count < mpc->length) { 325 while (count < mpc->length) {
327 switch (*mpt) { 326 switch (*mpt) {
@@ -353,8 +352,7 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
353 count = mpc->length; 352 count = mpc->length;
354 break; 353 break;
355 } 354 }
356 if (x86_quirks->mpc_record) 355 x86_init.mpparse.mpc_record(1);
357 (*x86_quirks->mpc_record)++;
358 } 356 }
359 357
360#ifdef CONFIG_X86_BIGSMP 358#ifdef CONFIG_X86_BIGSMP