Module Name:    src
Committed By:   he
Date:           Sun Jan  2 12:17:28 UTC 2011

Modified Files:
        src/sys/arch/mips/mips: mips_machdep.c

Log Message:
Make this build again by removing the const qualifier on the
local pcb0 variable in mips_init_lwp0_uarea().


To generate a diff of this commit:
cvs rdiff -u -r1.229 -r1.230 src/sys/arch/mips/mips/mips_machdep.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/mips/mips/mips_machdep.c
diff -u src/sys/arch/mips/mips/mips_machdep.c:1.229 src/sys/arch/mips/mips/mips_machdep.c:1.230
--- src/sys/arch/mips/mips/mips_machdep.c:1.229	Sat Jan  1 02:08:10 2011
+++ src/sys/arch/mips/mips/mips_machdep.c	Sun Jan  2 12:17:28 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: mips_machdep.c,v 1.229 2011/01/01 02:08:10 nisimura Exp $	*/
+/*	$NetBSD: mips_machdep.c,v 1.230 2011/01/02 12:17:28 he Exp $	*/
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.229 2011/01/01 02:08:10 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.230 2011/01/02 12:17:28 he Exp $");
 
 #include "opt_cputype.h"
 #include "opt_compat_netbsd32.h"
@@ -1644,7 +1644,7 @@
 mips_init_lwp0_uarea(void)
 {
 	vaddr_t v;
-	struct pcb * const pcb0;
+	struct pcb * pcb0;
 
 	v = uvm_pageboot_alloc(USPACE);
 	uvm_lwp_setuarea(&lwp0, v);

Reply via email to