diff options
author | jeff <jeff@FreeBSD.org> | 2004-12-26 22:56:51 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2004-12-26 22:56:51 +0000 |
commit | 862fb71e5ed169517eb58fd64320e16864262c97 (patch) | |
tree | d2aacbdb623823f4109c7ac4d23eabbed4546353 /sys/kern | |
parent | ceca9b8f9ea53d9a923c535b211495acd5caa11c (diff) | |
download | FreeBSD-src-862fb71e5ed169517eb58fd64320e16864262c97.zip FreeBSD-src-862fb71e5ed169517eb58fd64320e16864262c97.tar.gz |
- Remove a 4BSD specific hack since this will work on ULE too.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_kse.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index 1e0e156..b37b511 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -1150,7 +1150,6 @@ thread_switchout(struct thread *td, int flags, struct thread *nextthread) td->td_upcall = NULL; td->td_pflags &= ~TDP_CAN_UNBIND; td2 = thread_schedule_upcall(td, ku); -#ifdef SCHED_4BSD if (flags & SW_INVOL || nextthread) { setrunqueue(td2, SRQ_YIELDING); } else { @@ -1159,9 +1158,6 @@ thread_switchout(struct thread *td, int flags, struct thread *nextthread) */ return td2; } -#else - setrunqueue(td2, SRQ_YIELDING); -#endif } return (nextthread); } |