summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-08 04:02:22 +0000
committerpeter <peter@FreeBSD.org>2001-08-08 04:02:22 +0000
commit185e591533d493e9aa5e937d42e40833936ae6f4 (patch)
treeb48468f33af07905dad47775d11fe829f5d63eb9 /sys/libkern
parentf6571e54993aff842887d544b7b719aa5a30f09a (diff)
downloadFreeBSD-src-185e591533d493e9aa5e937d42e40833936ae6f4.zip
FreeBSD-src-185e591533d493e9aa5e937d42e40833936ae6f4.tar.gz
We do not have UPAGES following the tail end of the user VM space anymore.
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/mcount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/mcount.c b/sys/libkern/mcount.c
index 7480ff3..3fa0854 100644
--- a/sys/libkern/mcount.c
+++ b/sys/libkern/mcount.c
@@ -102,7 +102,7 @@ _MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */
*/
if (frompci >= p->textsize) {
if (frompci + p->lowpc
- >= (uintfptr_t)(VM_MAXUSER_ADDRESS + UPAGES * PAGE_SIZE))
+ >= (uintfptr_t)(VM_MAXUSER_ADDRESS))
goto done;
frompci = (uintfptr_t)user - p->lowpc;
if (frompci >= p->textsize)
OpenPOWER on IntegriCloud