Skip to content

Commit 2fbb3cb

Browse files
arndbjforissier
authored andcommitted
tee: replace getnstimeofday64() with ktime_get_real_ts64()
The two do the same thing, but we want to have a consistent naming in the kernel. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jens Wiklander <[email protected]>
1 parent 75065d7 commit 2fbb3cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tee/optee/rpc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static void handle_rpc_func_cmd_get_time(struct optee_msg_arg *arg)
5050
OPTEE_MSG_ATTR_TYPE_VALUE_OUTPUT)
5151
goto bad;
5252

53-
getnstimeofday64(&ts);
53+
ktime_get_real_ts64(&ts);
5454
arg->params[0].u.value.a = ts.tv_sec;
5555
arg->params[0].u.value.b = ts.tv_nsec;
5656

0 commit comments

Comments
 (0)