We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695b3e6 commit d44ef7eCopy full SHA for d44ef7e
components/lwp/arch/risc-v/common/vdso_data.c
@@ -13,7 +13,7 @@
13
#include <time.h>
14
#include <vdso_datapage.h>
15
#include <vdso_data.h>
16
-
+#include <encoding.h>
17
18
void rt_vdso_update_glob_time(void)
19
{
@@ -29,6 +29,6 @@ void rt_vdso_update_glob_time(void)
29
vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC];
30
rt_ktime_boottime_get_ns(vdso_ts);
31
32
- vdata->cycle_last = riscv_cputime_gettime();
+ vdata->cycle_last = rdtime();
33
rt_vdso_write_end(vdata);
34
}
0 commit comments