Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Make this build again by removing the con...



details:   https://anonhg.NetBSD.org/src/rev/47773d86eb86
branches:  trunk
changeset: 760310:47773d86eb86
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 02 12:17:28 2011 +0000

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

diffstat:

 sys/arch/mips/mips/mips_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e6d4bd35e7f3 -r 47773d86eb86 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Sun Jan 02 12:11:46 2011 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Sun Jan 02 12:17:28 2011 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index