From a8f67509a68e961b8237e2b5c085f263b7aa364f Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 10 Oct 1997 18:18:47 +0000 Subject: Fix contigmalloc() and contigmalloc1() arguments. --- sys/vm/vm_kern.h | 4 ++-- sys/vm/vm_page.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sys') 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; -- cgit v1.1