Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 fix a comment (cpu_switch() -> cpu_switch...



details:   https://anonhg.NetBSD.org/src/rev/66f1e1e38073
branches:  trunk
changeset: 325914:66f1e1e38073
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 11 17:05:17 2014 +0000

description:
fix a comment (cpu_switch() -> cpu_switchto()) (Richard Hansen)

diffstat:

 sys/arch/i386/i386/locore.S |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 773277e1b2bc -r 66f1e1e38073 sys/arch/i386/i386/locore.S
--- a/sys/arch/i386/i386/locore.S       Sat Jan 11 17:00:37 2014 +0000
+++ b/sys/arch/i386/i386/locore.S       Sat Jan 11 17:05:17 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.108 2013/12/01 01:05:16 christos Exp $    */
+/*     $NetBSD: locore.S,v 1.109 2014/01/11 17:05:17 christos Exp $    */
 
 /*
  * Copyright-o-rama!
@@ -129,7 +129,7 @@
  */
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.108 2013/12/01 01:05:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.109 2014/01/11 17:05:17 christos Exp $");
 
 #include "opt_compat_oldboot.h"
 #include "opt_ddb.h"
@@ -881,8 +881,9 @@
  *
  * This is a trampoline function pushed onto the stack of a newly created
  * process in order to do some additional setup.  The trampoline is entered by
- * cpu_switch()ing to the process, so we abuse the callee-saved registers used
- * by cpu_switch() to store the information about the stub to call.
+ * cpu_switchto()ing to the process, so we abuse the callee-saved
+ * registers used by cpu_switchto() to store the information about the
+ * stub to call.
  * NOTE: This function does not have a normal calling sequence!
  */
 NENTRY(lwp_trampoline)



Home | Main Index | Thread Index | Old Index