benchmark: fix thread utils on riscv's fastpath

Signed-off-by: Rihui Wu <rihui.wu@unsw.edu.au>
This commit is contained in:
Rihui Wu
2025-12-05 11:50:43 +11:00
committed by Indan Zupancic
parent 4f7d7b7376
commit b0567c4d1c

View File

@@ -42,6 +42,10 @@ static inline void FORCE_INLINE switchToThread_fp(tcb_t *thread, pte_t *vroot, p
setVSpaceRoot(addrFromPPtr(vroot), asid);
#ifdef CONFIG_BENCHMARK_TRACK_UTILISATION
benchmark_utilisation_switch(NODE_STATE(ksCurThread), thread);
#endif
#ifdef CONFIG_HAVE_FPU
lazyFPURestore(thread);
#endif