Change some unsigned int variables and parameters to plain ints so
that all usages of those agree on unsigned vs. signed.
This commit is contained in:
parent
819bb532e6
commit
82649768b7
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: uvm_amap.c,v 1.35 2001/09/19 03:41:46 chs Exp $ */
|
/* $NetBSD: uvm_amap.c,v 1.36 2001/11/06 06:31:06 simonb Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
@ -292,7 +292,7 @@ amap_extend(entry, addsize)
|
||||||
#ifdef UVM_AMAP_PPREF
|
#ifdef UVM_AMAP_PPREF
|
||||||
int *newppref, *oldppref;
|
int *newppref, *oldppref;
|
||||||
#endif
|
#endif
|
||||||
u_int *newsl, *newbck, *oldsl, *oldbck;
|
int *newsl, *newbck, *oldsl, *oldbck;
|
||||||
struct vm_anon **newover, **oldover;
|
struct vm_anon **newover, **oldover;
|
||||||
int slotadded;
|
int slotadded;
|
||||||
UVMHIST_FUNC("amap_extend"); UVMHIST_CALLED(maphist);
|
UVMHIST_FUNC("amap_extend"); UVMHIST_CALLED(maphist);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: uvm_page.c,v 1.68 2001/09/28 11:59:55 chs Exp $ */
|
/* $NetBSD: uvm_page.c,v 1.69 2001/11/06 06:31:06 simonb Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||||
|
@ -918,7 +918,7 @@ uvm_page_recolor(int newncolors)
|
||||||
|
|
||||||
static __inline struct vm_page *
|
static __inline struct vm_page *
|
||||||
uvm_pagealloc_pgfl(struct pgfreelist *pgfl, int try1, int try2,
|
uvm_pagealloc_pgfl(struct pgfreelist *pgfl, int try1, int try2,
|
||||||
unsigned int *trycolorp)
|
int *trycolorp)
|
||||||
{
|
{
|
||||||
struct pglist *freeq;
|
struct pglist *freeq;
|
||||||
struct vm_page *pg;
|
struct vm_page *pg;
|
||||||
|
|
Loading…
Reference in New Issue