From owner-svn-src-head@FreeBSD.ORG Sun Nov 2 20:57:20 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95FB6463; Sun, 2 Nov 2014 20:57:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 820A530F; Sun, 2 Nov 2014 20:57:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA2KvKv8030592; Sun, 2 Nov 2014 20:57:20 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA2KvKKU030590; Sun, 2 Nov 2014 20:57:20 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201411022057.sA2KvKKU030590@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Sun, 2 Nov 2014 20:57:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273988 - in head/sys/i386: i386 include X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2014 20:57:20 -0000 Author: jhb Date: Sun Nov 2 20:57:19 2014 New Revision: 273988 URL: https://svnweb.freebsd.org/changeset/base/273988 Log: Remove the FP_SOFTFP flag. It wasn't used but was leftover from the software x86 math emulator. Modified: head/sys/i386/i386/machdep.c head/sys/i386/include/pcb.h Modified: head/sys/i386/i386/machdep.c ============================================================================== --- head/sys/i386/i386/machdep.c Sun Nov 2 19:54:10 2014 (r273987) +++ head/sys/i386/i386/machdep.c Sun Nov 2 20:57:19 2014 (r273988) @@ -1602,14 +1602,6 @@ exec_setregs(struct thread *td, struct i pcb->pcb_flags &= ~PCB_DBREGS; } - /* - * Initialize the math emulator (if any) for the current process. - * Actually, just clear the bit that says that the emulator has - * been initialized. Initialization is delayed until the process - * traps to the emulator (if it is done at all) mainly because - * emulators don't provide an entry point for initialization. - */ - td->td_pcb->pcb_flags &= ~FP_SOFTFP; pcb->pcb_initial_npxcw = __INITIAL_NPXCW__; /* Modified: head/sys/i386/include/pcb.h ============================================================================== --- head/sys/i386/include/pcb.h Sun Nov 2 19:54:10 2014 (r273987) +++ head/sys/i386/include/pcb.h Sun Nov 2 20:57:19 2014 (r273988) @@ -66,7 +66,6 @@ struct pcb { union savefpu pcb_user_save; uint16_t pcb_initial_npxcw; u_int pcb_flags; -#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */ #define PCB_DBREGS 0x02 /* process using debug registers */ #define PCB_NPXINITDONE 0x08 /* fpu state is initialized */ #define PCB_VM86CALL 0x10 /* in vm86 call */