Date: Tue, 30 Oct 2012 09:02:28 +0100 From: Giovanni Trematerra <gianni@freebsd.org> To: freebsd-arm@freebsd.org Cc: Tim Kientzle <tim@kientzle.com> Subject: [PATCH] Fix a compiler warning building SMP kernels Message-ID: <CACfq092TiZfeEL=Mn9Wj5okKZ1c_MtUH5JyYWeOh5fuKm93yaQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACfq092TiZfeEL=Mn9Wj5okKZ1c_MtUH5JyYWeOh5fuKm93yaQ>