diff options
author | alc <alc@FreeBSD.org> | 2008-05-18 04:16:57 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2008-05-18 04:16:57 +0000 |
commit | a8f81206ad84b1ab64280e9138a55223f038fc54 (patch) | |
tree | 66daa86e54a43f6d578f868aa2c92f77693509f7 /sys/amd64 | |
parent | afc301919a8dbd312078ed5029c7efe8e76a2302 (diff) | |
download | FreeBSD-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.c | 12 |
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. |