aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_idle.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2003-05-02 00:33:12 +0000
committerJulian Elischer <julian@FreeBSD.org>2003-05-02 00:33:12 +0000
commitb1ac98d8b27a21983ff38293ee3bb7e961552a64 (patch)
tree354160c488b1394b67dd663bd12e8767fd5a36cf /sys/kern/kern_idle.c
parent8705f13eab6fa0e0fe3fe02533280bfc9fb41e20 (diff)
Move the flag that indicates an idle thread from the KSE to the thread.
It was always referenced via the thread anyhow. Reviewed by: jhb (a LOOOOONG time ago)
Notes
Notes: svn path=/head/; revision=114471
Diffstat (limited to 'sys/kern/kern_idle.c')
-rw-r--r--sys/kern/kern_idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_idle.c b/sys/kern/kern_idle.c
index a3a949516fa9..825b2f04189e 100644
--- a/sys/kern/kern_idle.c
+++ b/sys/kern/kern_idle.c
@@ -67,7 +67,7 @@ idle_setup(void *dummy)
p->p_state = PRS_NORMAL;
td = FIRST_THREAD_IN_PROC(p);
td->td_state = TDS_CAN_RUN;
- td->td_kse->ke_flags |= KEF_IDLEKSE;
+ td->td_flags |= TDF_IDLETD;
mtx_unlock_spin(&sched_lock);
PROC_UNLOCK(p);
#ifdef SMP