From 6626207e676d46e404496c9c3f476b584983e0a4 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Tue, 30 Oct 2012 15:25:01 +0000 Subject: [PATCH] Fix SMP build for omap4 Submitted by: Giovanni Trematerra --- sys/arm/ti/omap4/omap4_mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/ti/omap4/omap4_mp.c b/sys/arm/ti/omap4/omap4_mp.c index abb0d88cfe84..c42cae5dce53 100644 --- a/sys/arm/ti/omap4/omap4_mp.c +++ b/sys/arm/ti/omap4/omap4_mp.c @@ -75,7 +75,7 @@ platform_mp_start_ap(void) cpu_idcache_wbinv_all(); cpu_l2cache_wbinv_all(); ti_smc0(0x200, 0xfffffdff, MODIFY_AUX_CORE_0); - ti_smc0(pmap_kextract(mpentry), 0, WRITE_AUX_CORE_1); + ti_smc0(pmap_kextract((vm_offset_t)mpentry), 0, WRITE_AUX_CORE_1); armv7_sev(); bus_space_unmap(fdtbus_bs_tag, scu_addr, 0x1000); }