diff options
author | Wojciech Macek <wma@FreeBSD.org> | 2018-01-24 13:57:01 +0000 |
---|---|---|
committer | Wojciech Macek <wma@FreeBSD.org> | 2018-01-24 13:57:01 +0000 |
commit | 072c8a3b39202defef012b380c1dac1b34e486d0 (patch) | |
tree | fdf21b35ec053f441ac44869203139c148f9a971 /sys/kern/sched_ule.c | |
parent | f885420d3c51e6f3f2541ddc7604400b86a4d1c6 (diff) | |
download | src-072c8a3b39202defef012b380c1dac1b34e486d0.tar.gz src-072c8a3b39202defef012b380c1dac1b34e486d0.zip |
Reverting r328320
Notes
Notes:
svn path=/head/; revision=328330
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r-- | sys/kern/sched_ule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index d26f6769e869..cf861366fbd9 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -1405,7 +1405,6 @@ sched_setup(void *dummy) /* Add thread0's load since it's running. */ TDQ_LOCK(tdq); - td_get_sched(&thread0)->ts_cpu = curcpu; /* Something valid to start */ thread0.td_lock = TDQ_LOCKPTR(TDQ_SELF()); tdq_load_add(tdq, &thread0); tdq->tdq_lowpri = thread0.td_priority; @@ -2455,7 +2454,6 @@ sched_add(struct thread *td, int flags) * Pick the destination cpu and if it isn't ours transfer to the * target cpu. */ - td_get_sched(td)->ts_cpu = curcpu; /* Pick something valid to start */ cpu = sched_pickcpu(td, flags); tdq = sched_setcpu(td, cpu, flags); tdq_add(tdq, td, flags); |