diff --git a/sys/kern/init_smp.c b/sys/kern/init_smp.c index b38a38765f8a..c01f30f03c69 100644 --- a/sys/kern/init_smp.c +++ b/sys/kern/init_smp.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: init_smp.c,v 1.11 1997/07/15 02:46:37 fsmp Exp $ + * $Id: init_smp.c,v 1.12 1997/07/21 17:03:22 fsmp Exp $ */ #include "opt_smp.h" @@ -46,9 +46,6 @@ #include #include /** IGNORE_IDLEPROCS, TEST_TEST1 */ #include -#ifndef CR0_EM -#define CR0_EM 0x00000004 /* EMulate non-NPX coproc. (trap ESC only) */ -#endif #include #include @@ -198,10 +195,7 @@ secondary_main() #endif /** TEST_TEST1 */ /* Setup the FPU. */ - temp = rcr0(); - temp &= ~(CR0_EM); - temp |= (CR0_MP | CR0_NE | CR0_TS); - load_cr0(temp); + load_cr0((rcr0() & ~CR0_EM) | CR0_MP | CR0_NE | CR0_TS); curproc = NULL; /* ensure no context to save */ cpu_switch(curproc); /* start first process */