diff options
author | kib <kib@FreeBSD.org> | 2013-05-27 18:31:15 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-05-27 18:31:15 +0000 |
commit | 1ab68ccb6418bbb8576e41c42693c123e9f19249 (patch) | |
tree | dba05a0ebd9e0bdd36117d37c9b689c37de6eaf4 | |
parent | b48b0e8ec048b680adc5d13665d4e307e6673238 (diff) | |
download | FreeBSD-src-1ab68ccb6418bbb8576e41c42693c123e9f19249.zip FreeBSD-src-1ab68ccb6418bbb8576e41c42693c123e9f19249.tar.gz |
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
-rw-r--r-- | sys/amd64/ia32/ia32_signal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/ia32/ia32_signal.c b/sys/amd64/ia32/ia32_signal.c index 26319e3..6c161d0 100644 --- a/sys/amd64/ia32/ia32_signal.c +++ b/sys/amd64/ia32/ia32_signal.c @@ -187,7 +187,6 @@ ia32_get_mcontext(struct thread *td, struct ia32_mcontext *mcp, int flags) 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); } |