summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-10-13 07:18:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-10-13 07:18:33 +0000
commita3bda8461aa6f21d587a795907b5c9f2c084074c (patch)
tree80f243c0f7e5461db637dee094fe66bd5ebb031d /sys/arch/amd64
parentc0bc3a2a6f3f3655042f182d7620c7b65d8aa5f8 (diff)
Fix cpu_exit() comments to be more closer to reality.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/vm_machdep.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/vm_machdep.c b/sys/arch/amd64/amd64/vm_machdep.c
index 1b6fa8463b8..178a5c49d05 100644
--- a/sys/arch/amd64/amd64/vm_machdep.c
+++ b/sys/arch/amd64/amd64/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.11 2007/10/10 15:53:51 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.12 2007/10/13 07:18:32 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.1 2003/04/26 18:39:33 fvdl Exp $ */
/*-
@@ -154,9 +154,8 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack, size_t stacksize,
/*
* cpu_exit is called as the last action during exit.
*
- * We clean up a little and then call switch_exit() with the old proc as an
- * argument. switch_exit() first switches to proc0's context, and finally
- * jumps into switch() to wait for another process to wake up.
+ * We clean up a little and then call sched_exit() with the old proc as an
+ * argument.
*/
void
cpu_exit(struct proc *p)