From e911eafcbae5366e66f9560ca18bf60c5f8157a4 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 2 May 1996 14:21:14 +0000 Subject: removed: CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei() ptei() kvtopte() ptetov() ispt() ptetoav() &c &c new: NPDEPG Major macro cleanup. --- sys/libkern/mcount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/libkern') diff --git a/sys/libkern/mcount.c b/sys/libkern/mcount.c index b0c4072e31fc..726ad5ad80f6 100644 --- a/sys/libkern/mcount.c +++ b/sys/libkern/mcount.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: mcount.c,v 1.6 1995/12/30 07:24:13 bde Exp $"; #endif #include @@ -107,7 +107,7 @@ _MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */ */ if (frompci >= p->textsize) { if (frompci + p->lowpc - >= (fptrint_t)(VM_MAXUSER_ADDRESS + UPAGES * NBPG)) + >= (fptrint_t)(VM_MAXUSER_ADDRESS + UPAGES * PAGE_SIZE)) goto done; frompci = (fptrint_t)user - p->lowpc; if (frompci >= p->textsize) -- cgit v1.3