Mitchell Horne b02908b051 arm64, powerpc: fix calculation of 'used' in GET_STACK_USAGE
We do not consider the space reserved for the pcb to be part of the
total kstack size, so it should not be included in the calculation of
the used stack size.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2021-11-30 11:15:44 -04:00
..
2021-11-03 15:54:59 -05:00
2021-05-20 11:22:25 +02:00
2021-06-22 22:10:31 -06:00