summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2008-05-18 04:16:57 +0000
committeralc <alc@FreeBSD.org>2008-05-18 04:16:57 +0000
commita8f81206ad84b1ab64280e9138a55223f038fc54 (patch)
tree66daa86e54a43f6d578f868aa2c92f77693509f7 /sys/amd64
parentafc301919a8dbd312078ed5029c7efe8e76a2302 (diff)
downloadFreeBSD-src-a8f81206ad84b1ab64280e9138a55223f038fc54.zip
FreeBSD-src-a8f81206ad84b1ab64280e9138a55223f038fc54.tar.gz
Retire pmap_addr_hint(). It is no longer used.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 5af214f..28cf203 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -4458,18 +4458,6 @@ if (oldpmap) /* XXX FIXME */
critical_exit();
}
-vm_offset_t
-pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size)
-{
-
- if ((obj == NULL) || (size < NBPDR) || (obj->type != OBJT_DEVICE)) {
- return addr;
- }
-
- addr = (addr + (NBPDR - 1)) & ~(NBPDR - 1);
- return addr;
-}
-
/*
* Increase the starting virtual address of the given mapping if a
* different alignment might result in more superpage mappings.
OpenPOWER on IntegriCloud