Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Misc style



details:   https://anonhg.NetBSD.org/src/rev/e1e2be635b99
branches:  trunk
changeset: 996693:e1e2be635b99
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Feb 06 13:22:54 2019 +0000

description:
Misc style

diffstat:

 sys/arch/arm/arm32/arm32_kvminit.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 64d0b517e6d7 -r e1e2be635b99 sys/arch/arm/arm32/arm32_kvminit.c
--- a/sys/arch/arm/arm32/arm32_kvminit.c        Wed Feb 06 13:20:29 2019 +0000
+++ b/sys/arch/arm/arm32/arm32_kvminit.c        Wed Feb 06 13:22:54 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm32_kvminit.c,v 1.50 2019/02/06 13:20:29 skrll Exp $ */
+/*     $NetBSD: arm32_kvminit.c,v 1.51 2019/02/06 13:22:54 skrll Exp $ */
 
 /*
  * Copyright (c) 2002, 2003, 2005  Genetec Corporation.  All rights reserved.
@@ -127,7 +127,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.50 2019/02/06 13:20:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.51 2019/02/06 13:22:54 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -212,8 +212,8 @@
 #endif
        paddr_t kernelend = KERN_VTOPHYS(kendva);
 
-       VPRINTF("%s: memstart=%#lx, memsize=%#lx\n",
-           __func__, memstart, memsize);
+       VPRINTF("%s: memstart=%#lx, memsize=%#lx\n", __func__,
+           memstart, memsize);
        VPRINTF("%s: kernelstart=%#lx, kernelend=%#lx\n", __func__,
            kernelstart, kernelend);
 
@@ -720,7 +720,7 @@
        data.pv_pa = text.pv_pa + textsize;
        data.pv_va = text.pv_va + textsize;
        data.pv_size = totalsize - textsize;
-       data.pv_prot = VM_PROT_READ|VM_PROT_WRITE;
+       data.pv_prot = VM_PROT_READ | VM_PROT_WRITE;
        data.pv_cache = PTE_CACHE;
 
        VPRINTF("%s: adding chunk for kernel data/bss %#lx..%#lx (VA %#lx)\n",



Home | Main Index | Thread Index | Old Index