summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-06-04 11:31:50 -0400
committerRobert Morris <[email protected]>2019-06-04 11:31:50 -0400
commitcff3ce6e04ce4a353324630df788df21566807a6 (patch)
tree31040a8262b6de165a2f1d6cc7ead1db33e67a80 /proc.c
parent0e131b226336808c135795f5b9d7defc5a58b2ae (diff)
downloadxv6-labs-cff3ce6e04ce4a353324630df788df21566807a6.tar.gz
xv6-labs-cff3ce6e04ce4a353324630df788df21566807a6.tar.bz2
xv6-labs-cff3ce6e04ce4a353324630df788df21566807a6.zip
more sbrk fixes
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/proc.c b/proc.c
index b696d0c..768aa6d 100644
--- a/proc.c
+++ b/proc.c
@@ -500,8 +500,6 @@ wakeup(void *chan)
release(&ptable.lock);
}
-#if 0
-
// Kill the process with the given pid.
// Process won't exit until it returns
// to user space (see trap in trap.c).
@@ -525,8 +523,6 @@ kill(int pid)
return -1;
}
-#endif
-
// Copy to either a user address, or kernel address,
// depending on usr_dst.
// Returns 0 on success, -1 on error.