arm64, risvc: warn about ignored kstack_pages for thread0

Suggested by:	brooks
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D42143
This commit is contained in:
Konstantin Belousov 2023-10-11 21:56:28 +03:00
parent 39cddbd7a0
commit 6aa641b71d
2 changed files with 8 additions and 0 deletions

View file

@ -1049,6 +1049,10 @@ initarm(struct arm64_bootparams *abp)
early_boot = 0;
if (bootverbose && kstack_pages != KSTACK_PAGES)
printf("kern.kstack_pages = %d ignored for thread0\n",
kstack_pages);
TSEXIT();
}

View file

@ -596,5 +596,9 @@ initriscv(struct riscv_bootparams *rvbp)
early_boot = 0;
if (bootverbose && kstack_pages != KSTACK_PAGES)
printf("kern.kstack_pages = %d ignored for thread0\n",
kstack_pages);
TSEXIT();
}