Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch: riscv: reset global pointer on exception
Reset the gp on exception entry from u-mode to protect the kernel against a possible rogue user thread. Signed-off-by: Yong Cong Sin <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]>
- Loading branch information