Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap KNF



details:   https://anonhg.NetBSD.org/src/rev/2bbcc1df26b5
branches:  trunk
changeset: 466346:2bbcc1df26b5
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Dec 18 11:27:56 2019 +0000

description:
KNF

diffstat:

 sys/uvm/pmap/pmap_pvt.c    |   6 +++---
 sys/uvm/pmap/pmap_segtab.c |  11 ++++++-----
 sys/uvm/pmap/pmap_synci.c  |   7 ++++---
 sys/uvm/pmap/pmap_tlb.c    |  15 ++++++++-------
 4 files changed, 21 insertions(+), 18 deletions(-)

diffs (118 lines):

diff -r 6d63a9b77a47 -r 2bbcc1df26b5 sys/uvm/pmap/pmap_pvt.c
--- a/sys/uvm/pmap/pmap_pvt.c   Wed Dec 18 11:10:24 2019 +0000
+++ b/sys/uvm/pmap/pmap_pvt.c   Wed Dec 18 11:27:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_pvt.c,v 1.5 2019/12/09 04:39:58 riastradh Exp $   */
+/*     $NetBSD: pmap_pvt.c,v 1.6 2019/12/18 11:27:56 skrll Exp $       */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,11 +30,11 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: pmap_pvt.c,v 1.5 2019/12/09 04:39:58 riastradh Exp $");
+__RCSID("$NetBSD: pmap_pvt.c,v 1.6 2019/12/18 11:27:56 skrll Exp $");
 
+#include <sys/atomic.h>
 #include <sys/kmem.h>
 #include <sys/pserialize.h>
-#include <sys/atomic.h>
 
 #include <uvm/uvm.h>
 #include <uvm/pmap/pmap_pvt.h>
diff -r 6d63a9b77a47 -r 2bbcc1df26b5 sys/uvm/pmap/pmap_segtab.c
--- a/sys/uvm/pmap/pmap_segtab.c        Wed Dec 18 11:10:24 2019 +0000
+++ b/sys/uvm/pmap/pmap_segtab.c        Wed Dec 18 11:27:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_segtab.c,v 1.12 2019/12/14 14:46:11 ad Exp $      */
+/*     $NetBSD: pmap_segtab.c,v 1.13 2019/12/18 11:27:56 skrll Exp $   */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.12 2019/12/14 14:46:11 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.13 2019/12/18 11:27:56 skrll Exp $");
 
 /*
  *     Manages physical address maps.
@@ -100,10 +100,11 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/param.h>
-#include <sys/systm.h>
+
+#include <sys/atomic.h>
+#include <sys/mutex.h>
 #include <sys/proc.h>
-#include <sys/mutex.h>
-#include <sys/atomic.h>
+#include <sys/systm.h>
 
 #include <uvm/uvm.h>
 
diff -r 6d63a9b77a47 -r 2bbcc1df26b5 sys/uvm/pmap/pmap_synci.c
--- a/sys/uvm/pmap/pmap_synci.c Wed Dec 18 11:10:24 2019 +0000
+++ b/sys/uvm/pmap/pmap_synci.c Wed Dec 18 11:27:56 2019 +0000
@@ -29,17 +29,18 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_synci.c,v 1.3 2016/07/11 16:06:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_synci.c,v 1.4 2019/12/18 11:27:56 skrll Exp $");
 
 #define __PMAP_PRIVATE
 
 #include "opt_multiprocessor.h"
 
 #include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/mutex.h>
+
 #include <sys/atomic.h>
 #include <sys/cpu.h>
+#include <sys/mutex.h>
+#include <sys/systm.h>
  
 #include <uvm/uvm.h>
 
diff -r 6d63a9b77a47 -r 2bbcc1df26b5 sys/uvm/pmap/pmap_tlb.c
--- a/sys/uvm/pmap/pmap_tlb.c   Wed Dec 18 11:10:24 2019 +0000
+++ b/sys/uvm/pmap/pmap_tlb.c   Wed Dec 18 11:27:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_tlb.c,v 1.29 2019/12/17 13:25:50 skrll Exp $      */
+/*     $NetBSD: pmap_tlb.c,v 1.30 2019/12/18 11:27:56 skrll Exp $      */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.29 2019/12/17 13:25:50 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.30 2019/12/18 11:27:56 skrll Exp $");
 
 /*
  * Manages address spaces in a TLB.
@@ -127,12 +127,13 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/proc.h>
+
+#include <sys/atomic.h>
+#include <sys/cpu.h>
+#include <sys/kernel.h>                        /* for cold */
 #include <sys/mutex.h>
-#include <sys/atomic.h>
-#include <sys/kernel.h>                        /* for cold */
-#include <sys/cpu.h>
+#include <sys/proc.h>
+#include <sys/systm.h>
 
 #include <uvm/uvm.h>
 



Home | Main Index | Thread Index | Old Index