1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Remove vm_page_alloc_contig(). It's now unused.

This commit is contained in:
Alan Cox 2004-01-14 06:21:38 +00:00
parent cf3f6e5041
commit f4c2663897
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124513
2 changed files with 0 additions and 16 deletions

View File

@ -306,18 +306,3 @@ contigfree(void *addr, unsigned long size, struct malloc_type *type)
GIANT_REQUIRED;
kmem_free(kernel_map, (vm_offset_t)addr, size);
}
vm_offset_t
vm_page_alloc_contig(
vm_offset_t size,
vm_paddr_t low,
vm_paddr_t high,
vm_offset_t alignment)
{
vm_offset_t ret;
GIANT_REQUIRED;
ret = ((vm_offset_t)contigmalloc1(size, M_DEVBUF, M_NOWAIT, low, high,
alignment, 0ul, kernel_map));
return (ret);
}

View File

@ -78,7 +78,6 @@ int vm_fault_wire(vm_map_t, vm_offset_t, vm_offset_t, boolean_t);
void vm_forkproc(struct thread *, struct proc *, struct thread *, int);
void vm_waitproc(struct proc *);
int vm_mmap(vm_map_t, vm_offset_t *, vm_size_t, vm_prot_t, vm_prot_t, int, void *, vm_ooffset_t);
vm_offset_t vm_page_alloc_contig(vm_offset_t, vm_paddr_t, vm_paddr_t, vm_offset_t);
void vm_set_page_size(void);
struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t);
struct vmspace *vmspace_fork(struct vmspace *);