summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_kse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_kse.c')
-rw-r--r--sys/kern/kern_kse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c
index 20c38c7..37c4e1a 100644
--- a/sys/kern/kern_kse.c
+++ b/sys/kern/kern_kse.c
@@ -1683,12 +1683,6 @@ thread_userret(struct thread *td, struct trapframe *frame)
* kmem_free(kernel_map, ...)
*/
cpu_set_upcall_kse(td, ku);
-
- /*
- * Clear TDF_UPCALLING after set upcall context,
- * profiling code looks TDF_UPCALLING to avoid account
- * a wrong user %EIP
- */
mtx_lock_spin(&sched_lock);
td->td_flags &= ~TDF_UPCALLING;
if (ku->ku_flags & KUF_DOUPCALL)
OpenPOWER on IntegriCloud