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);
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to