Module Name:    src
Committed By:   skrll
Date:           Wed Jun 19 09:53:39 UTC 2019

Modified Files:
        src/sys/arch/arm/include/arm32: param.h

Log Message:
KNF and add a comment


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/arm/include/arm32/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/arm/include/arm32/param.h
diff -u src/sys/arch/arm/include/arm32/param.h:1.26 src/sys/arch/arm/include/arm32/param.h:1.27
--- src/sys/arch/arm/include/arm32/param.h:1.26	Mon Feb  4 13:06:39 2019
+++ src/sys/arch/arm/include/arm32/param.h	Wed Jun 19 09:53:39 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.26 2019/02/04 13:06:39 skrll Exp $	*/
+/*	$NetBSD: param.h,v 1.27 2019/06/19 09:53:39 skrll Exp $	*/
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -53,9 +53,8 @@
 #endif
 #endif
 #define	NBPG		(1 << PGSHIFT)	/* bytes/page */
-#define	PGOFSET		(NBPG-1)	/* byte offset into page */
-#define	NPTEPG		(NBPG/(sizeof (pt_entry_t)))
-
+#define	PGOFSET		(NBPG - 1)	/* byte offset into page */
+#define	NPTEPG		(NBPG / sizeof(pt_entry_t))	/* PTEs per Page */
 
 #define SSIZE		1		/* initial stack size/NBPG */
 #define SINCR		1		/* increment of stack/NBPG */

Reply via email to