diff options
author | jeff <jeff@FreeBSD.org> | 2003-10-16 08:53:46 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-10-16 08:53:46 +0000 |
commit | 4aea3a9433e80a27ebfdc96bbf34edc628c9749b (patch) | |
tree | 58676b73754d9322936b32b75441e5fb2dec634e /sys/sys/sched.h | |
parent | 991febf6dd83fc12812470ce7a43503ff2b86f2c (diff) | |
download | FreeBSD-src-4aea3a9433e80a27ebfdc96bbf34edc628c9749b.zip FreeBSD-src-4aea3a9433e80a27ebfdc96bbf34edc628c9749b.tar.gz |
- Collapse sched_switchin() and sched_switchout() into sched_switch(). Now
mi_switch() calls sched_switch() which calls cpu_switch(). This is
actually one less function call than it had been.
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r-- | sys/sys/sched.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h index 7fc9df2..cd804cc 100644 --- a/sys/sys/sched.h +++ b/sys/sys/sched.h @@ -58,8 +58,7 @@ void sched_exit_thread(struct thread *td, struct thread *child); void sched_fork_thread(struct thread *td, struct thread *child); void sched_prio(struct thread *td, u_char prio); void sched_sleep(struct thread *td, u_char prio); -void sched_switchin(struct thread *td); -void sched_switchout(struct thread *td); +void sched_switch(struct thread *td); void sched_userret(struct thread *td); void sched_wakeup(struct thread *td); |