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/6b8be95d55ef
branches:  trunk
changeset: 366474:6b8be95d55ef
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 2bfd9b66610f -r 6b8be95d55ef 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