Date: Mon, 27 May 2013 18:31:15 +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: r251037 - head/sys/amd64/ia32 Message-ID: <201305271831.r4RIVFb9007599@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon May 27 18:31:15 2013 New Revision: 251037 URL: http://svnweb.freebsd.org/changeset/base/251037 Log: The ia32_get_mcontext() does not need to set PCB_FULL_IRET. The usermode context state is not changed by the get operation, and get_mcontext() does not require full iret as well. 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:29:31 2013 (r251036) +++ head/sys/amd64/ia32/ia32_signal.c Mon May 27 18:31:15 2013 (r251037) @@ -187,7 +187,6 @@ ia32_get_mcontext(struct thread *td, str mcp->mc_xfpustate = 0; mcp->mc_xfpustate_len = 0; bzero(mcp->mc_spare2, sizeof(mcp->mc_spare2)); - set_pcb_flags(pcb, PCB_FULL_IRET); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271831.r4RIVFb9007599>