Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Pendantic structure member initialization. ...



details:   https://anonhg.NetBSD.org/src/rev/cdb3274b3f52
branches:  trunk
changeset: 328752:cdb3274b3f52
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Apr 16 22:33:07 2014 +0000

description:
Pendantic structure member initialization.  (setting a field to 0 which is 0).

diffstat:

 sys/arch/arm/arm/arm_machdep.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r bcae5c3f23ab -r cdb3274b3f52 sys/arch/arm/arm/arm_machdep.c
--- a/sys/arch/arm/arm/arm_machdep.c    Wed Apr 16 21:28:51 2014 +0000
+++ b/sys/arch/arm/arm/arm_machdep.c    Wed Apr 16 22:33:07 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm_machdep.c,v 1.40 2014/01/10 18:03:26 matt Exp $    */
+/*     $NetBSD: arm_machdep.c,v 1.41 2014/04/16 22:33:07 matt Exp $    */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -78,7 +78,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.40 2014/01/10 18:03:26 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.41 2014/04/16 22:33:07 matt Exp $");
 
 #include <sys/exec.h>
 #include <sys/proc.h>
@@ -112,6 +112,9 @@
        .ci_curlwp = &lwp0,
 #ifdef __PROG32
        .ci_undefsave[2] = (register_t) undefinedinstruction_bounce,
+#if defined(ARM_MMU_EXTENDED) && KERNEL_PID != 0
+       .ci_pmap_asid_cur = KERNEL_PID,
+#endif
 #endif
 };
 



Home | Main Index | Thread Index | Old Index