aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-12-11 10:54:06 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-12-11 10:54:06 +0000
commit7ba4a77549608d0e95c658564a3855c1dd667127 (patch)
treeb8face1463c9a856e3c9b97130070889a597bb45
parent99b30c79b0dcd3693b5b190a50db61d8d86c48b8 (diff)
Notes
-rw-r--r--sys/amd64/include/pmap.h2
-rw-r--r--sys/i386/include/param.h2
-rw-r--r--sys/i386/include/pmap.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index bb617abe193f..1f8163608769 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -115,7 +115,7 @@
#endif /* SMP */
#define PTDPTDI (KPTDI-1) /* ptd entry that points to ptd! */
#define UMAXPTDI (PTDPTDI-1) /* ptd entry for user space end */
-#define UMAXPTEOFF (NPTEPG-UPAGES_HOLE) /* pte entry for user space end */
+#define UMAXPTEOFF (NPTEPG) /* pte entry for user space end */
/*
* XXX doesn't really belong here I guess...
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h
index 3274938be55f..312d944a3f16 100644
--- a/sys/i386/include/param.h
+++ b/sys/i386/include/param.h
@@ -99,8 +99,6 @@
#define IOPAGES 2 /* pages of i/o permission bitmap */
#define UPAGES 2 /* pages of u-area */
-#define UPAGES_HOLE 2 /* pages of "hole" at top of user space where */
- /* the upages used to be. DO NOT CHANGE! */
/*
* Constants related to network buffer management.
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index bb617abe193f..1f8163608769 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -115,7 +115,7 @@
#endif /* SMP */
#define PTDPTDI (KPTDI-1) /* ptd entry that points to ptd! */
#define UMAXPTDI (PTDPTDI-1) /* ptd entry for user space end */
-#define UMAXPTEOFF (NPTEPG-UPAGES_HOLE) /* pte entry for user space end */
+#define UMAXPTEOFF (NPTEPG) /* pte entry for user space end */
/*
* XXX doesn't really belong here I guess...