Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Fix arguments to align and align_offset f...



details:   https://anonhg.NetBSD.org/src/rev/da69161635ca
branches:  trunk
changeset: 993173:da69161635ca
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 28 14:45:33 2018 +0000

description:
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)

diffstat:

 sys/arch/arm/arm32/pmap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 9b996ccb77f4 -r da69161635ca sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Tue Aug 28 14:23:02 2018 +0000
+++ b/sys/arch/arm/arm32/pmap.c Tue Aug 28 14:45:33 2018 +0000
@@ -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 @@
        /*
         * 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);



Home | Main Index | Thread Index | Old Index