[PATCH] Fix a compiler warning building SMP kernels
Giovanni Trematerra
gianni at freebsd.org
Tue Oct 30 08:02:30 UTC 2012
Could someone please, review and commit the patch?
This fix a warning when compile a PANDABOARD kernel with the SMP option enabled.
Thank you
--
Gianni
Index: arm/ti/omap4/omap4_mp.c
===================================================================
--- arm/ti/omap4/omap4_mp.c (revision 242212)
+++ arm/ti/omap4/omap4_mp.c (working copy)
@@ -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);
}
More information about the freebsd-arm
mailing list