summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2018-02-21 14:24:57 -0300
committerLuiz Souza <luiz@netgate.com>2018-02-21 14:24:57 -0300
commitf5e92dfb08a85dd8aad9f0e021f58ce31c33f9f4 (patch)
tree61441c226dbe85751e2d18c443ad1263874faf6c
parente8f1248046c257a8b83766f04f4f20f6e287fc0f (diff)
downloadFreeBSD-src-f5e92dfb08a85dd8aad9f0e021f58ce31c33f9f4.zip
FreeBSD-src-f5e92dfb08a85dd8aad9f0e021f58ce31c33f9f4.tar.gz
Revert "MFC r321922:"
This reverts commit 457061d949ae73e58071fe42a7430d13af05e237.
-rw-r--r--sys/amd64/amd64/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 67c5868..070d722b 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -933,6 +933,6 @@ amd64_syscall(struct thread *td, int traced)
* not be safe. Instead, use the full return path which
* catches the problem safely.
*/
- if (__predict_false(td->td_frame->tf_rip >= VM_MAXUSER_ADDRESS))
+ if (td->td_frame->tf_rip >= VM_MAXUSER_ADDRESS)
set_pcb_flags(td->td_pcb, PCB_FULL_IRET);
}
OpenPOWER on IntegriCloud