Fix SMP build for omap4

Submitted by:	Giovanni Trematerra <gianni at freebsd DOT org>
This commit is contained in:
Olivier Houchard 2012-10-30 15:25:01 +00:00
parent 5584e91718
commit 6626207e67

View File

@ -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);
}