svn commit: r251037 - head/sys/amd64/ia32
Konstantin Belousov
kib at FreeBSD.org
Mon May 27 18:31:16 UTC 2013
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);
}
More information about the svn-src-all
mailing list