Use a helper for resetting kernel stacks
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 26 Oct 2016 20:40:37 +0000 (16:40 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Nov 2016 16:27:40 +0000 (11:27 -0500)
commit26e10a3a394e2b38be6517250380da6ddd1b0349
treeac48f96639c2d273c9b8c07d884e67baf119c05e
parent9c8cbccf703a716fee6469b9c601ab43a88d1d47
Use a helper for resetting kernel stacks

It's another arch-specific helper, but I have another case in an
upcoming commit that will need to pass the function pointer.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/riscv/arch.h
kern/arch/x86/arch.h
kern/src/kthread.c
kern/src/smp.c