summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2011-10-28 22:36:15 +0000
committeralc <alc@FreeBSD.org>2011-10-28 22:36:15 +0000
commit15734d833a763e24f0ea8d7eaf18076bec06ed73 (patch)
treee6d16a7f7d93624ab3755d1a4fe6d1f1f88884da /sys/vm
parenta71751c33ebe8adbfc6166c37c978982085e2488 (diff)
downloadFreeBSD-src-15734d833a763e24f0ea8d7eaf18076bec06ed73.zip
FreeBSD-src-15734d833a763e24f0ea8d7eaf18076bec06ed73.tar.gz
Use "u_long" instead of "unsigned long".
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_contig.c5
-rw-r--r--sys/vm/vm_extern.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c
index dc87799..31aac3b 100644
--- a/sys/vm/vm_contig.c
+++ b/sys/vm/vm_contig.c
@@ -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);
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h
index 72f0254..373d57e 100644
--- a/sys/vm/vm_extern.h
+++ b/sys/vm/vm_extern.h
@@ -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);
OpenPOWER on IntegriCloud