Date: Tue, 26 Feb 2013 19:58:49 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r247339 - head/sys/arm/arm Message-ID: <201302261958.r1QJwn0x041412@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302261958.r1QJwn0x041412>