diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2013-05-27 18:31:15 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2013-05-27 18:31:15 +0000 |
commit | e9249a80f6b3594fb35de3fb456eb50d7edc6bfc (patch) | |
tree | dba05a0ebd9e0bdd36117d37c9b689c37de6eaf4 | |
parent | 80b5691a76b0a7de967d77ce62992c96798f776f (diff) | |
download | src-e9249a80f6b3594fb35de3fb456eb50d7edc6bfc.tar.gz src-e9249a80f6b3594fb35de3fb456eb50d7edc6bfc.zip |
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
Notes
Notes:
svn path=/head/; revision=251037
-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 26319e382b28..6c161d05ba34 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); } |