aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-04-23 17:05:54 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-04-23 17:05:54 +0000
commitac7d52740249de51e805a7cd577b4374d6a6ae81 (patch)
tree030283d061f0928c274ee5330d22dae8135449ea /sys/amd64
parentfe2957f591b55d9cbd70cf1325048012fc833fbb (diff)
Diffstat (limited to 'sys/amd64')
-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 56c6d153aa53..5592dc3bb683 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -3923,10 +3923,10 @@ pmap_kremove(vm_offset_t va)
* update '*virt' with the first usable address after the mapped
* region.
*/
-vm_offset_t
+void *
pmap_map(vm_offset_t *virt, vm_paddr_t start, vm_paddr_t end, int prot)
{
- return PHYS_TO_DMAP(start);
+ return ((void *)PHYS_TO_DMAP(start));
}
/*