svn commit: r262874 - stable/9/sys/vm
Jean-Sebastien Pedron
dumbbell at FreeBSD.org
Thu Mar 6 23:17:39 UTC 2014
Author: dumbbell
Date: Thu Mar 6 23:17:38 2014
New Revision: 262874
URL: http://svnweb.freebsd.org/changeset/base/262874
Log:
MFC r226891:
Use "u_long" instead of "unsigned long".
Modified:
stable/9/sys/vm/vm_contig.c
stable/9/sys/vm/vm_extern.h
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/vm/vm_contig.c
==============================================================================
--- stable/9/sys/vm/vm_contig.c Thu Mar 6 23:06:47 2014 (r262873)
+++ stable/9/sys/vm/vm_contig.c Thu Mar 6 23:17:38 2014 (r262874)
@@ -360,12 +360,11 @@ contigmapping(vm_map_t map, vm_size_t si
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);
Modified: stable/9/sys/vm/vm_extern.h
==============================================================================
--- stable/9/sys/vm/vm_extern.h Thu Mar 6 23:06:47 2014 (r262873)
+++ stable/9/sys/vm/vm_extern.h Thu Mar 6 23:17:38 2014 (r262874)
@@ -44,8 +44,8 @@ vm_offset_t kmem_alloc(vm_map_t, vm_size
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);
More information about the svn-src-stable-9
mailing list