From a3bda8461aa6f21d587a795907b5c9f2c084074c Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 13 Oct 2007 07:18:33 +0000 Subject: Fix cpu_exit() comments to be more closer to reality. --- sys/arch/sparc64/sparc64/vm_machdep.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sys/arch/sparc64') diff --git a/sys/arch/sparc64/sparc64/vm_machdep.c b/sys/arch/sparc64/sparc64/vm_machdep.c index 88ba247878a..ac50d35e829 100644 --- a/sys/arch/sparc64/sparc64/vm_machdep.c +++ b/sys/arch/sparc64/sparc64/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.16 2007/10/10 15:53:53 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.17 2007/10/13 07:18:32 miod Exp $ */ /* $NetBSD: vm_machdep.c,v 1.38 2001/06/30 00:02:20 eeh Exp $ */ /* @@ -310,10 +310,9 @@ cpu_fork(p1, p2, stack, stacksize, func, arg) /* * cpu_exit is called as the last action during exit. * - * We clean up a little and then call switchexit() with the old proc - * as an argument. switchexit() switches to the idle context, schedules - * the old vmspace and stack to be freed, then selects a new process to - * run. + * We clean up a little and then call sched_exit() with the old proc + * as an argument. sched_exit() schedules the old vmspace and stack + * to be freed, then selects a new process to run. */ void cpu_exit(struct proc *p) -- cgit v1.2.3