summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-02-23 22:12:08 +0000
committerjake <jake@FreeBSD.org>2003-02-23 22:12:08 +0000
commite12ad10b6b19c7255016b76286c1a817fd8529bb (patch)
treefd3a0fdd154e336a2e7881bdb2405e37d1089deb /sys/amd64/include
parent56781869226b18df9f6aa3dd84a7a2268ad05f1f (diff)
downloadFreeBSD-src-e12ad10b6b19c7255016b76286c1a817fd8529bb.zip
FreeBSD-src-e12ad10b6b19c7255016b76286c1a817fd8529bb.tar.gz
Previous commit missed a 1 that should be NGPTD, and an NPDEPG that should
be NPDEPTD. Grumble. Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/pmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index 0cd3944..7fdb660 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -115,7 +115,7 @@
*
* SMP_PRIVPAGES: The per-cpu address space is 0xff80000 -> 0xffbfffff
*/
-#define APTDPTDI (NPDEPG-NPGPTD) /* alt ptd entry that points to APTD */
+#define APTDPTDI (NPDEPTD-NPGPTD) /* alt ptd entry that points to APTD */
#ifdef SMP
#define MPPTDI (APTDPTDI-1) /* per cpu ptd entry */
#define KPTDI (MPPTDI-NKPDE) /* start of kernel virtual pde's */
OpenPOWER on IntegriCloud