Use "u_long" instead of "unsigned long".
This commit is contained in:
parent
c7d7f9a140
commit
1933a67cf4
@ -335,12 +335,11 @@ contigmapping(vm_map_t map, vm_size_t size, vm_page_t m, vm_memattr_t memattr,
|
||||
|
||||
vm_offset_t
|
||||
kmem_alloc_contig(vm_map_t map, vm_size_t size, int flags, vm_paddr_t low,
|
||||
vm_paddr_t high, unsigned long alignment, unsigned long boundary,
|
||||
vm_memattr_t memattr)
|
||||
vm_paddr_t high, u_long alignment, u_long boundary, vm_memattr_t memattr)
|
||||
{
|
||||
vm_offset_t ret;
|
||||
vm_page_t pages;
|
||||
unsigned long npgs;
|
||||
u_long npgs;
|
||||
int tries;
|
||||
|
||||
size = round_page(size);
|
||||
|
@ -44,8 +44,8 @@ vm_offset_t kmem_alloc(vm_map_t, vm_size_t);
|
||||
vm_offset_t kmem_alloc_attr(vm_map_t map, vm_size_t size, int flags,
|
||||
vm_paddr_t low, vm_paddr_t high, vm_memattr_t memattr);
|
||||
vm_offset_t kmem_alloc_contig(vm_map_t map, vm_size_t size, int flags,
|
||||
vm_paddr_t low, vm_paddr_t high, unsigned long alignment,
|
||||
unsigned long boundary, vm_memattr_t memattr);
|
||||
vm_paddr_t low, vm_paddr_t high, u_long alignment, u_long boundary,
|
||||
vm_memattr_t memattr);
|
||||
vm_offset_t kmem_alloc_nofault(vm_map_t, vm_size_t);
|
||||
vm_offset_t kmem_alloc_nofault_space(vm_map_t, vm_size_t, int);
|
||||
vm_offset_t kmem_alloc_wait(vm_map_t, vm_size_t);
|
||||
|
Loading…
Reference in New Issue
Block a user