diff options
-rw-r--r-- | pk/emulation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pk/emulation.c b/pk/emulation.c index c454962..5a66997 100644 --- a/pk/emulation.c +++ b/pk/emulation.c @@ -274,7 +274,7 @@ static inline int emulate_write_csr(int num, uintptr_t value, uintptr_t mstatus) { switch (num) { -#ifndef PK_ENABLE_FP_EMULATION +#ifdef PK_ENABLE_FP_EMULATION case CSR_FRM: SET_FRM(value); return 0; case CSR_FFLAGS: SET_FFLAGS(value); return 0; case CSR_FCSR: SET_FCSR(value); return 0; |