Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/riscv/riscv Fix cpu_switchto(9) prototype in a comment



details:   https://anonhg.NetBSD.org/src/rev/29c14e00aa7a
branches:  trunk
changeset: 819440:29c14e00aa7a
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon Dec 05 07:24:16 2016 +0000

description:
Fix cpu_switchto(9) prototype in a comment

diffstat:

 sys/arch/riscv/riscv/locore.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 78579d6147df -r 29c14e00aa7a sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S     Mon Dec 05 07:18:10 2016 +0000
+++ b/sys/arch/riscv/riscv/locore.S     Mon Dec 05 07:24:16 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.5 2015/03/31 11:53:13 matt Exp $ */
+/* $NetBSD: locore.S,v 1.6 2016/12/05 07:24:16 kamil Exp $ */
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -156,7 +156,7 @@
 END(start)
 
 //
-// struct lwp *cpu_switch(struct lwp *oldl, struct lwp *newl, bool returning);
+// struct lwp *cpu_switchto(struct lwp *oldl, struct lwp *newl, bool returning);
 //
 ENTRY_NP(cpu_switchto)
        addi    sp, sp, -TF_LEN         // allocate trapframe



Home | Main Index | Thread Index | Old Index