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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c
index defe87e12056..1ccb2537e3fd 100644
--- a/arch/x86/kernel/mpparse.c
+++ b/arch/x86/kernel/mpparse.c
@@ -313,7 +313,7 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early)
313 return 1; 313 return 1;
314 314
315 if (mpc->mpc_oemptr && x86_quirks->smp_read_mpc_oem) { 315 if (mpc->mpc_oemptr && x86_quirks->smp_read_mpc_oem) {
316 struct mp_config_oemtable *oem_table = (struct mp_config_oemtable *)(unsigned long)mpc->mpc_oemptr; 316 struct mpc_oemtable *oem_table = (void *)(long)mpc->mpc_oemptr;
317 x86_quirks->smp_read_mpc_oem(oem_table, mpc->mpc_oemsize); 317 x86_quirks->smp_read_mpc_oem(oem_table, mpc->mpc_oemsize);
318 } 318 }
319 319