Date: Thu, 6 Mar 2014 23:17:38 +0000 (UTC) From: Jean-Sebastien Pedron <dumbbell@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r262874 - stable/9/sys/vm Message-ID: <201403062317.s26NHctl056011@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403062317.s26NHctl056011>