Rename "cpu_switch" to "cpu_switchto"

This commit is contained in:
scole 2018-04-26 14:59:11 +00:00
parent ce89a5e39f
commit c4c8c26cd0
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: cpu_lwp_fork.9,v 1.6 2017/03/10 15:30:45 wiz Exp $
.\" $NetBSD: cpu_lwp_fork.9,v 1.7 2018/04/26 14:59:11 scole Exp $
.\"
.\" Copyright (c) 2002, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd March 10, 2017
.Dd April 26, 2018
.Dt CPU_LWP_FORK 9
.Os
.Sh NAME
@ -58,7 +58,7 @@ rigs the child's kernel stack so that it will start in
.Fn lwp_trampoline .
.Fn lwp_trampoline
does not have a normal calling sequence and is entered by
.Fn cpu_switch .
.Fn cpu_switchto .
If an alternate user-level stack is requested (with non-zero values
in both the
.Fa stack
@ -67,7 +67,7 @@ and
arguments), the user stack pointer is set up accordingly.
.Pp
After being entered by
.Fn cpu_switch
.Fn cpu_switchto
and while running in user context (within the kernel)
.Fn lwp_trampoline
will invoke the function