Module Name:    src
Committed By:   skrll
Date:           Wed Jun 19 09:55:27 UTC 2019

Modified Files:
        src/sys/arch/mips/include: mips_param.h

Log Message:
Whitespace and whitespace consistency


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/mips/include/mips_param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/include/mips_param.h
diff -u src/sys/arch/mips/include/mips_param.h:1.39 src/sys/arch/mips/include/mips_param.h:1.40
--- src/sys/arch/mips/include/mips_param.h:1.39	Sat May 11 06:50:42 2019
+++ src/sys/arch/mips/include/mips_param.h	Wed Jun 19 09:55:27 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: mips_param.h,v 1.39 2019/05/11 06:50:42 skrll Exp $	*/
+/*	$NetBSD: mips_param.h,v 1.40 2019/06/19 09:55:27 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -93,24 +93,24 @@
 #define	PGSHIFT		12		/* LOG2(NBPG) */
 #endif
 #define	NBPG		(1 << PGSHIFT)	/* bytes/page */
-#define	PGOFSET		(NBPG-1)	/* byte offset into page */
+#define	PGOFSET		(NBPG - 1)	/* byte offset into page */
 #define	PTPSHIFT	2
-#define	PTPLENGTH	(PGSHIFT-PTPSHIFT)
+#define	PTPLENGTH	(PGSHIFT - PTPSHIFT)
 #define	NPTEPG		(1 << PTPLENGTH)
 
-#define SEGSHIFT	(PGSHIFT+PTPLENGTH)	/* LOG2(NBSEG) */
-#define NBSEG		(1 << SEGSHIFT)	/* bytes/segment */
+#define	SEGSHIFT	(PGSHIFT + PTPLENGTH)	/* LOG2(NBSEG) */
+#define	NBSEG		(1 << SEGSHIFT)	/* bytes/segment */
 #define	SEGOFSET	(NBSEG-1)	/* byte offset into segment */
 
 #ifdef _LP64
-#define	SEGLENGTH	(PGSHIFT-3)
-#define	XSEGSHIFT	(SEGSHIFT+SEGLENGTH)	/* LOG2(NBXSEG) */
+#define	SEGLENGTH	(PGSHIFT - 3)
+#define	XSEGSHIFT	(SEGSHIFT + SEGLENGTH)	/* LOG2(NBXSEG) */
 #define	NBXSEG		(1UL << XSEGSHIFT)	/* bytes/xsegment */
-#define	XSEGOFSET	(NBXSEG-1)	/* byte offset into xsegment */
-#define	XSEGLENGTH	(PGSHIFT-3)
+#define	XSEGOFSET	(NBXSEG - 1)	/* byte offset into xsegment */
+#define	XSEGLENGTH	(PGSHIFT - 3)
 #define	NXSEGPG		(1 << XSEGLENGTH)
 #else
-#define	SEGLENGTH	(31-SEGSHIFT)
+#define	SEGLENGTH	(31 - SEGSHIFT)
 #endif
 #define	NSEGPG		(1 << SEGLENGTH)
 

Reply via email to