Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2026 02:34:05 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 91b419bc7e15 - main - arm64: Fix the build
Message-ID:  <6a5c379d.459be.5eeb013a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by markj:

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

commit 91b419bc7e15f2138cb211c4d7c5be118c377c20
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-07-19 02:33:08 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-19 02:33:42 +0000

    arm64: Fix the build
    
    Fixes:  a7e483ee146a ("vm_phys: Add a sysctl to dump registered fictitious memory ranges")
---
 sys/arm64/include/vm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/arm64/include/vm.h b/sys/arm64/include/vm.h
index 87a1839b7dac..8e76652e3ebf 100644
--- a/sys/arm64/include/vm.h
+++ b/sys/arm64/include/vm.h
@@ -45,6 +45,7 @@
 /* If defined vmstat will try to use both of these in a switch statement */
 #define	VM_MEMATTR_WRITE_COMBINING	VM_MEMATTR_WRITE_THROUGH
 
+#ifndef LOCORE
 static inline const char *
 vm_memattr_name(vm_memattr_t memattr)
 {
@@ -66,5 +67,6 @@ vm_memattr_name(vm_memattr_t memattr)
 	}
 }
 #endif
+#endif
 
 #endif /* !_MACHINE_VM_H_ */


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a5c379d.459be.5eeb013a>