1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Use "u_long" instead of "unsigned long".

This commit is contained in:
Alan Cox 2011-10-28 22:36:15 +00:00
parent c7d7f9a140
commit 1933a67cf4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226891
2 changed files with 4 additions and 5 deletions

View File

@ -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);

View File

@ -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);