Author: cognet
Date: Tue Feb 26 19:58:49 2013
New Revision: 247339
URL: http://svnweb.freebsd.org/changeset/base/247339

Log:
  Don't forget to init the VFP stuff for all cores.

Modified:
  head/sys/arm/arm/mp_machdep.c

Modified: head/sys/arm/arm/mp_machdep.c
==============================================================================
--- head/sys/arm/arm/mp_machdep.c       Tue Feb 26 19:46:59 2013        
(r247338)
+++ head/sys/arm/arm/mp_machdep.c       Tue Feb 26 19:58:49 2013        
(r247339)
@@ -49,6 +49,9 @@ __FBSDID("$FreeBSD$");
 #include <machine/pte.h>
 #include <machine/intr.h>
 #include <machine/vmparam.h>
+#ifdef ARM_VFP_SUPPORT
+#include <machine/vfp.h>
+#endif
 
 #include "opt_smp.h"
 
@@ -181,6 +184,11 @@ init_secondary(int cpu)
        KASSERT(PCPU_GET(idlethread) != NULL, ("no idle thread"));
        pc->pc_curthread = pc->pc_idlethread;
        pc->pc_curpcb = pc->pc_idlethread->td_pcb;
+#ifdef ARM_VFP_SUPPORT
+       pc->pc_cpu = cpu;
+
+       vfp_init();
+#endif
 
        mtx_lock_spin(&ap_boot_mtx);
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to