summaryrefslogtreecommitdiff
path: root/src/arch/x86/mpspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/mpspec.c')
-rw-r--r--src/arch/x86/mpspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c
index d6f0cd5be1..fde2ffadaa 100644
--- a/src/arch/x86/mpspec.c
+++ b/src/arch/x86/mpspec.c
@@ -215,7 +215,7 @@ static void smp_write_ioapic(struct mp_config_table *mc,
mpc->mpc_apicid = id;
mpc->mpc_apicver = ver;
mpc->mpc_flags = MPC_APIC_USABLE;
- mpc->mpc_apicaddr = (void *)apicaddr;
+ mpc->mpc_apicaddr = apicaddr;
smp_add_mpc_entry(mc, sizeof(*mpc));
}