Module Name: src Committed By: reinoud Date: Thu Sep 8 12:08:13 UTC 2011
Modified Files: src/sys/arch/usermode/dev: cpu.c Log Message: White space To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/usermode/dev/cpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/usermode/dev/cpu.c diff -u src/sys/arch/usermode/dev/cpu.c:1.35 src/sys/arch/usermode/dev/cpu.c:1.36 --- src/sys/arch/usermode/dev/cpu.c:1.35 Thu Sep 8 12:01:22 2011 +++ src/sys/arch/usermode/dev/cpu.c Thu Sep 8 12:08:13 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.35 2011/09/08 12:01:22 reinoud Exp $ */ +/* $NetBSD: cpu.c,v 1.36 2011/09/08 12:08:13 reinoud Exp $ */ /*- * Copyright (c) 2007 Jared D. McNeill <jmcne...@invisible.ca> @@ -29,7 +29,7 @@ #include "opt_cpu.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.35 2011/09/08 12:01:22 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.36 2011/09/08 12:08:13 reinoud Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -339,7 +339,6 @@ pcb2->pcb_syscall_ucp.uc_stack.ss_sp = ((uint8_t *) pcb2->pcb_syscall_ucp.uc_stack.ss_sp) - 4; pcb2->pcb_syscall_ucp.uc_stack.ss_size = 0; - thunk_makecontext_1(&pcb2->pcb_syscall_ucp, (void (*)(void)) syscall, l2); } @@ -352,7 +351,6 @@ void cpu_startup(void) { - msgbuf = thunk_malloc(PAGE_SIZE); if (msgbuf == NULL) panic("couldn't allocate msgbuf");