diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-10-13 07:18:33 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-10-13 07:18:33 +0000 |
commit | a3bda8461aa6f21d587a795907b5c9f2c084074c (patch) | |
tree | 80f243c0f7e5461db637dee094fe66bd5ebb031d /sys/arch/sparc64 | |
parent | c0bc3a2a6f3f3655042f182d7620c7b65d8aa5f8 (diff) |
Fix cpu_exit() comments to be more closer to reality.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/vm_machdep.c | 9 |
1 files changed, 4 insertions, 5 deletions
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) |