mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
Fix contigmalloc() and contigmalloc1() arguments.
This commit is contained in:
parent
2cfc47fbc8
commit
f0d45e6aae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30286
@ -61,7 +61,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_kern.h,v 1.14 1997/04/26 11:46:23 peter Exp $
|
||||
* $Id: vm_kern.h,v 1.15 1997/06/22 15:47:12 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _VM_VM_KERN_H_
|
||||
@ -81,7 +81,7 @@ extern vm_map_t u_map;
|
||||
|
||||
extern vm_offset_t kernel_vm_end;
|
||||
/* XXX - elsewhere? */
|
||||
extern void *contigmalloc1(u_long, int, int, u_long, u_long, u_long, u_long,
|
||||
extern void *contigmalloc1(u_long, struct malloc_type *, int, u_long, u_long, u_long, u_long,
|
||||
vm_map_t);
|
||||
|
||||
#endif /* _VM_VM_KERN_H_ */
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91
|
||||
* $Id: vm_page.c,v 1.80 1997/09/01 03:17:23 bde Exp $
|
||||
* $Id: vm_page.c,v 1.81 1997/09/13 15:04:52 peter Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -1251,7 +1251,7 @@ vm_page_test_dirty(m)
|
||||
void *
|
||||
contigmalloc1(size, type, flags, low, high, alignment, boundary, map)
|
||||
unsigned long size; /* should be size_t here and for malloc() */
|
||||
int type;
|
||||
struct malloc_type *type;
|
||||
int flags;
|
||||
unsigned long low;
|
||||
unsigned long high;
|
||||
@ -1436,7 +1436,7 @@ again1:
|
||||
void *
|
||||
contigmalloc(size, type, flags, low, high, alignment, boundary)
|
||||
unsigned long size; /* should be size_t here and for malloc() */
|
||||
int type;
|
||||
struct malloc_type *type;
|
||||
int flags;
|
||||
unsigned long low;
|
||||
unsigned long high;
|
||||
|
Loading…
Reference in New Issue
Block a user