summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-10 16:37:27 +0000
committerrsc <rsc>2007-08-10 16:37:27 +0000
commitb6095304b7ee2b69d2ee4a9a7265999d1a2b9675 (patch)
tree3193df85e9fc228f512010d4bddf3aeb31e9993e /trap.c
parent3bbbaca14db70c6f255139c66a62b4cd5191462c (diff)
downloadxv6-labs-b6095304b7ee2b69d2ee4a9a7265999d1a2b9675.tar.gz
xv6-labs-b6095304b7ee2b69d2ee4a9a7265999d1a2b9675.tar.bz2
xv6-labs-b6095304b7ee2b69d2ee4a9a7265999d1a2b9675.zip
Make cp a magic symbol.
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/trap.c b/trap.c
index 0c4a956..7a47516 100644
--- a/trap.c
+++ b/trap.c
@@ -31,7 +31,6 @@ void
trap(struct trapframe *tf)
{
int v = tf->trapno;
- struct proc *cp = curproc[cpu()];
if(v == T_SYSCALL){
if(cp->killed)