Module Name:    src
Committed By:   skrll
Date:           Tue Aug 28 14:45:33 UTC 2018

Modified Files:
        src/sys/arch/arm/arm32: pmap.c

Log Message:
Fix arguments to align and align_offset for pmap_l2ptp_cache, i.e.align
is now L2_TABLE_SIZE_REAL and align_offset is now 0.  (There were
reversed previously)


To generate a diff of this commit:
cvs rdiff -u -r1.366 -r1.367 src/sys/arch/arm/arm32/pmap.c

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/arm32/pmap.c
diff -u src/sys/arch/arm/arm32/pmap.c:1.366 src/sys/arch/arm/arm32/pmap.c:1.367
--- src/sys/arch/arm/arm32/pmap.c:1.366	Tue Jul 31 07:00:48 2018
+++ src/sys/arch/arm/arm32/pmap.c	Tue Aug 28 14:45:33 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.366 2018/07/31 07:00:48 skrll Exp $	*/
+/*	$NetBSD: pmap.c,v 1.367 2018/08/28 14:45:33 skrll Exp $	*/
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -217,7 +217,7 @@
 
 #include <arm/locore.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.366 2018/07/31 07:00:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.367 2018/08/28 14:45:33 skrll Exp $");
 
 //#define PMAP_DEBUG
 #ifdef PMAP_DEBUG
@@ -6359,8 +6359,8 @@ pmap_bootstrap(vaddr_t vstart, vaddr_t v
 	/*
 	 * Initialise the L2 descriptor table pool and cache
 	 */
-	pool_cache_bootstrap(&pmap_l2ptp_cache, L2_TABLE_SIZE_REAL, 0,
-	    L2_TABLE_SIZE_REAL, 0, "l2ptppl", NULL, IPL_NONE,
+	pool_cache_bootstrap(&pmap_l2ptp_cache, L2_TABLE_SIZE_REAL,
+	    L2_TABLE_SIZE_REAL, 0, 0, "l2ptppl", NULL, IPL_NONE,
 	    pmap_l2ptp_ctor, NULL, NULL);
 
 	mutex_init(&memlock, MUTEX_DEFAULT, IPL_NONE);

Reply via email to