kern

diff src/proc.c @ 63:f44bec97a0ec

added errno.h in klibc
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 17 Aug 2011 05:42:44 +0300
parents ef9cc2e90277
children 0a205396e1a0
line diff
     1.1 --- a/src/proc.c	Wed Aug 17 05:39:39 2011 +0300
     1.2 +++ b/src/proc.c	Wed Aug 17 05:42:44 2011 +0300
     1.3 @@ -166,7 +166,6 @@
     1.4  		return -EAGAIN;
     1.5  	}
     1.6  	p->ctx.stack_ptr = PAGE_TO_ADDR(p->kern_stack_pg) + KERN_STACK_SIZE;
     1.7 -
     1.8  	/* we need to copy the current interrupt frame to the new kernel stack so
     1.9  	 * that the new process will return to the same point as the parent, just
    1.10  	 * after the fork syscall.