diff options
| -rw-r--r-- | lib/sbi/sbi_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_fp.c b/lib/sbi/sbi_fp.c index c8941252..38fb7a01 100644 --- a/lib/sbi/sbi_fp.c +++ b/lib/sbi/sbi_fp.c @@ -20,7 +20,7 @@ void sbi_fp_save(struct sbi_fp_context *dst) if (!dst) return; - mstatus_orig = csr_read_set(CSR_MSTATUS, MSTATUS_VS); + mstatus_orig = csr_read_set(CSR_MSTATUS, MSTATUS_FS); asm volatile( #if defined(__riscv_d) |
