From bf3903612d998ca8d95a48fb7cc0e5bfbe68f4c4 Mon Sep 17 00:00:00 2001 From: rtm Date: Mon, 26 Jun 2006 15:11:19 +0000 Subject: system call arguments --- proc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index 45696a2..9247cc7 100644 --- a/proc.c +++ b/proc.c @@ -95,7 +95,6 @@ swtch() struct proc *np; struct proc *op = curproc[cpu()]; - cprintf("swtch cpu %d op %x proc0 %x\n", cpu(), op, proc); while(1){ np = op + 1; while(np != op){ @@ -107,7 +106,7 @@ swtch() } if(np->state == RUNNABLE) break; - cprintf("swtch: nothing to run\n"); + // cprintf("swtch: nothing to run\n"); release_spinlock(&kernel_lock); acquire_spinlock(&kernel_lock); } -- cgit v1.2.3