Date: Mon, 27 May 2013 18:36:46 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251038 - head/sys/amd64/ia32 Message-ID: <201305271836.r4RIakt4008582@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon May 27 18:36:46 2013 New Revision: 251038 URL: http://svnweb.freebsd.org/changeset/base/251038 Log: The _MC_HASFPXSTATE and _MC_IA32_HASFPXSTATE flags have the same bit value on purpose, but the ia32 context handling code is logically more correct to use the _MC_IA32_HASFPXSTATE name for the flag. Tested by: dim, pgj Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/amd64/ia32/ia32_signal.c Modified: head/sys/amd64/ia32/ia32_signal.c ============================================================================== --- head/sys/amd64/ia32/ia32_signal.c Mon May 27 18:31:15 2013 (r251037) +++ head/sys/amd64/ia32/ia32_signal.c Mon May 27 18:36:46 2013 (r251038) @@ -112,7 +112,7 @@ ia32_get_fpcontext(struct thread *td, st len = max_len; bzero(xfpusave + max_len, len - max_len); } - mcp->mc_flags |= _MC_HASFPXSTATE; + mcp->mc_flags |= _MC_IA32_HASFPXSTATE; mcp->mc_xfpustate_len = len; bcopy(get_pcb_user_save_td(td) + 1, xfpusave, len); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271836.r4RIakt4008582>