aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-04-11 17:27:29 +0000
committerWarner Losh <imp@FreeBSD.org>2024-04-11 17:28:19 +0000
commitb8d29d68c46cbe7ab822889de8f2fd963150ed1c (patch)
treed3a39cbc13522b2bfd10eefb5cbae1306bc93cef
parent1eedb4e592650889d0eff7afef536e454e576f86 (diff)
pmap: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/885
-rw-r--r--sys/amd64/amd64/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index d74c40915fe1..ff702ed2dcfb 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -9437,7 +9437,7 @@ pmap_mapdev_internal(vm_paddr_t pa, vm_size_t size, int mode, int flags)
panic("%s: too many preinit mappings", __func__);
} else {
/*
- * If we have a preinit mapping, re-use it.
+ * If we have a preinit mapping, reuse it.
*/
for (i = 0; i < PMAP_PREINIT_MAPPING_COUNT; i++) {
ppim = pmap_preinit_mapping + i;
@@ -11030,7 +11030,7 @@ pmap_large_map_wb_large(vm_offset_t sva, vm_offset_t eva)
/*
* If we saw other write-back
- * occuring, we cannot rely on PG_M to
+ * occurring, we cannot rely on PG_M to
* indicate state of the cache. The
* PG_M bit is cleared before the
* flush to avoid ignoring new writes,