summaryrefslogtreecommitdiff
path: root/sys/arch/i386
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/i386
parentc0bc3a2a6f3f3655042f182d7620c7b65d8aa5f8 (diff)
Fix cpu_exit() comments to be more closer to reality.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/vm_machdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/vm_machdep.c b/sys/arch/i386/i386/vm_machdep.c
index a12b279cfb1..3e009a73ca7 100644
--- a/sys/arch/i386/i386/vm_machdep.c
+++ b/sys/arch/i386/i386/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.53 2007/10/10 15:53:51 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.54 2007/10/13 07:18:32 miod Exp $ */
/* $NetBSD: vm_machdep.c,v 1.61 1996/05/03 19:42:35 christos Exp $ */
/*-
@@ -134,11 +134,6 @@ 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, then does the
- * vmspace_free() and kmem_free() that we don't do here, and finally jumps
- * into switch() to wait for another process to wake up.
*/
void
cpu_exit(struct proc *p)