summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-10 18:18:47 +0000
committerphk <phk@FreeBSD.org>1997-10-10 18:18:47 +0000
commita8f67509a68e961b8237e2b5c085f263b7aa364f (patch)
treed55c519e1fa94e66356d8979a8011984aeb852ee /sys/vm
parentc0089963c1d9fa30e4a62aa5176c94d7e19676da (diff)
downloadFreeBSD-src-a8f67509a68e961b8237e2b5c085f263b7aa364f.zip
FreeBSD-src-a8f67509a68e961b8237e2b5c085f263b7aa364f.tar.gz
Fix contigmalloc() and contigmalloc1() arguments.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_kern.h4
-rw-r--r--sys/vm/vm_page.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h
index dbf06fa..4d7d4fa 100644
--- a/sys/vm/vm_kern.h
+++ b/sys/vm/vm_kern.h
@@ -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_ */
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 68b9d0f..18b4518 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -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;
OpenPOWER on IntegriCloud