summaryrefslogtreecommitdiffstats
path: root/sys/i386/i386/locore.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/i386/locore.s')
-rw-r--r--sys/i386/i386/locore.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s
index 7138ab4..4cbe160 100644
--- a/sys/i386/i386/locore.s
+++ b/sys/i386/i386/locore.s
@@ -731,7 +731,7 @@ no_kernend:
movl %esi,R(IdlePTD)
/* Allocate KSTACK */
- ALLOCPAGES(KSTACK_PAGES)
+ ALLOCPAGES(TD0_KSTACK_PAGES)
movl %esi,R(p0kpa)
addl $KERNBASE, %esi
movl %esi, R(proc0kstack)
@@ -800,7 +800,7 @@ no_kernend:
/* Map proc0's KSTACK in the physical way ... */
movl R(p0kpa), %eax
- movl $(KSTACK_PAGES), %ecx
+ movl $(TD0_KSTACK_PAGES), %ecx
fillkptphys($PG_RW)
/* Map ISA hole */
OpenPOWER on IntegriCloud