Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2025 21:54:50 GMT
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c82662dc7123 - main - arm pmap: fix CTASSERT
Message-ID:  <202506132154.55DLso8w098370@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by alc:

URL: https://cgit.FreeBSD.org/src/commit/?id=c82662dc71237660f48b15164b34378cab1da25d

commit c82662dc71237660f48b15164b34378cab1da25d
Author:     Alan Cox <alc@FreeBSD.org>
AuthorDate: 2025-06-13 21:41:21 +0000
Commit:     Alan Cox <alc@FreeBSD.org>
CommitDate: 2025-06-13 21:53:59 +0000

    arm pmap: fix CTASSERT
    
    Use the native spelling, PDR_SHIFT, instead of the x86 spelling,
    PDRSHIFT, that used to be defined by vm_page.h.
    
    Fixes: 330b17e1cf5c ("vm: remove pa_index from the machine-independent layer")
---
 sys/arm/arm/pmap-v6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/arm/pmap-v6.c b/sys/arm/arm/pmap-v6.c
index a0e0b007ffaa..a0158bb128e7 100644
--- a/sys/arm/arm/pmap-v6.c
+++ b/sys/arm/arm/pmap-v6.c
@@ -563,7 +563,7 @@ CTASSERT(PAGE_SIZE == PTE2_SIZE);
  *  so some things, which depend on other ones, are defined independently.
  *  Now, it is time to check that we don't screw up something.
  */
-CTASSERT(PDRSHIFT == PTE1_SHIFT);
+CTASSERT(PDR_SHIFT == PTE1_SHIFT);
 /*
  *  Check L1 and L2 page table entries definitions consistency.
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506132154.55DLso8w098370>