summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/proc.c b/proc.c
index a044c50..aa8bd8f 100644
--- a/proc.c
+++ b/proc.c
@@ -21,11 +21,10 @@ pinit(void)
initlock(&proc_table_lock, "proc_table");
}
-/*
- * set up CPU's segment descriptors and task state for a
- * given process. If p==0, set up for "idle" state for
- * when scheduler() isn't running any process.
- */
+// Set up CPU's segment descriptors and task state for a
+// given process.
+// If p==0, set up for "idle" state for when scheduler()
+// is idling, not running any process.
void
setupsegs(struct proc *p)
{