Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/explora Sort headers. Fix style. No binary c...



details:   https://anonhg.NetBSD.org/src/rev/ffa79183c3a1
branches:  trunk
changeset: 982063:ffa79183c3a1
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 03:20:13 2021 +0000

description:
Sort headers. Fix style. No binary changes.

diffstat:

 sys/arch/evbppc/explora/machdep.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 78d930acc31c -r ffa79183c3a1 sys/arch/evbppc/explora/machdep.c
--- a/sys/arch/evbppc/explora/machdep.c Tue Mar 30 03:15:53 2021 +0000
+++ b/sys/arch/evbppc/explora/machdep.c Tue Mar 30 03:20:13 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.50 2021/03/30 03:15:53 rin Exp $ */
+/*     $NetBSD: machdep.c,v 1.51 2021/03/30 03:20:13 rin Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,15 +30,15 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.50 2021/03/30 03:15:53 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.51 2021/03/30 03:20:13 rin Exp $");
 
 #include "opt_explora.h"
 
 #include <sys/param.h>
-#include <sys/systm.h>
+#include <sys/bus.h>
 #include <sys/kernel.h>
 #include <sys/module.h>
-#include <sys/bus.h>
+#include <sys/systm.h>
 
 #include <prop/proplib.h>
 
@@ -78,8 +78,8 @@
                        continue;
                maddr = ((br[i] >> 24) & 0xff) << 20;
                msize = 1 << (20 + ((br[i] >> 21) & 7));
-               if (maddr+msize > size)
-                       size = maddr+msize;
+               if (maddr + msize > size)
+                       size = maddr + msize;
        }
 
        /*



Home | Main Index | Thread Index | Old Index