diff options
author | phk <phk@FreeBSD.org> | 1996-05-02 08:43:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-05-02 08:43:37 +0000 |
commit | 640ce8297ee3a6654ae8b470710802be0b01bf5f (patch) | |
tree | 23c68f5692d7489af34ece9129f3c8a906abc586 /lib/libc/gmon | |
parent | 37811d9fc0db7d38415e2e6a6e4edf1fc0cba972 (diff) | |
download | FreeBSD-src-640ce8297ee3a6654ae8b470710802be0b01bf5f.zip FreeBSD-src-640ce8297ee3a6654ae8b470710802be0b01bf5f.tar.gz |
Use PAGE_SIZE instead of NBPG
Diffstat (limited to 'lib/libc/gmon')
-rw-r--r-- | lib/libc/gmon/mcount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gmon/mcount.c b/lib/libc/gmon/mcount.c index b0c4072..44d36d1 100644 --- a/lib/libc/gmon/mcount.c +++ b/lib/libc/gmon/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.5 1995/12/30 07:01:50 bde Exp $"; #endif #include <sys/param.h> @@ -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) |