Module Name:    src
Committed By:   skrll
Date:           Mon Feb 10 22:13:50 UTC 2020

Modified Files:
        src/sys/arch/i386/i386: locore.S

Log Message:
Fix a comment


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/arch/i386/i386/locore.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/i386/locore.S
diff -u src/sys/arch/i386/i386/locore.S:1.177 src/sys/arch/i386/i386/locore.S:1.178
--- src/sys/arch/i386/i386/locore.S:1.177	Wed Jan 15 18:47:23 2020
+++ src/sys/arch/i386/i386/locore.S	Mon Feb 10 22:13:50 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.S,v 1.177 2020/01/15 18:47:23 ad Exp $	*/
+/*	$NetBSD: locore.S,v 1.178 2020/02/10 22:13:50 skrll Exp $	*/
 
 /*
  * Copyright-o-rama!
@@ -128,7 +128,7 @@
  */
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.177 2020/01/15 18:47:23 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.178 2020/02/10 22:13:50 skrll Exp $");
 
 #include "opt_copy_symtab.h"
 #include "opt_ddb.h"
@@ -1289,8 +1289,8 @@ END(dumpsys)
  * struct lwp *cpu_switchto(struct lwp *oldlwp, struct lwp *newlwp,
  *     bool returning)
  *
- *	1. if (oldlwp != NULL), save its context.
- *	2. then, restore context of newlwp.
+ *	1. save context of oldlwp.
+ *	2. restore context of newlwp.
  *
  * Note that the stack frame layout is known to "struct switchframe" in
  * <machine/frame.h> and to the code in cpu_lwp_fork() which initializes

Reply via email to