Commit 0ed10acf authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/clock: use common NMI-safe real-time clock read call


Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
parent a6c58c5f
......@@ -1065,7 +1065,7 @@ static u64 read_mono_clock_cycles(struct evl_clock *clock)
static ktime_t read_realtime_clock(struct evl_clock *clock)
{
return ktime_get_real_fast();
return ns_to_ktime(ktime_get_real_fast_ns());
}
static u64 read_realtime_clock_cycles(struct evl_clock *clock)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment