arm: correct kernelstack allocation size

This appears to be a copy-pasto from previous lines that propagated to v6
over the years. Indeed, nothing references kernelstack beyond
USPACE_SVC_STACK_TOP and it would be odd if anything did.

Noticed by:	markj
This commit is contained in:
Kyle Evans 2019-10-22 21:46:03 +00:00
parent e38a50e8b6
commit c89d4b3ce1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353902

View File

@ -943,7 +943,7 @@ initarm(struct arm_boot_params *abp)
valloc_pages(irqstack, IRQ_STACK_SIZE * MAXCPU);
valloc_pages(abtstack, ABT_STACK_SIZE * MAXCPU);
valloc_pages(undstack, UND_STACK_SIZE * MAXCPU);
valloc_pages(kernelstack, kstack_pages * MAXCPU);
valloc_pages(kernelstack, kstack_pages);
valloc_pages(msgbufpv, round_page(msgbufsize) / PAGE_SIZE);
/*
@ -1208,7 +1208,7 @@ initarm(struct arm_boot_params *abp)
irqstack = pmap_preboot_get_vpages(IRQ_STACK_SIZE * MAXCPU);
abtstack = pmap_preboot_get_vpages(ABT_STACK_SIZE * MAXCPU);
undstack = pmap_preboot_get_vpages(UND_STACK_SIZE * MAXCPU );
kernelstack = pmap_preboot_get_vpages(kstack_pages * MAXCPU);
kernelstack = pmap_preboot_get_vpages(kstack_pages);
/* Allocate message buffer. */
msgbufp = (void *)pmap_preboot_get_vpages(