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 <arnd@arndb.de>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
This commit is contained in:
Arnd Bergmann 2018-06-18 16:24:56 +02:00 committed by Jens Wiklander
parent 29dcea8877
commit cf89fe88a6
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static void handle_rpc_func_cmd_get_time(struct optee_msg_arg *arg)
OPTEE_MSG_ATTR_TYPE_VALUE_OUTPUT)
goto bad;
getnstimeofday64(&ts);
ktime_get_real_ts64(&ts);
arg->params[0].u.value.a = ts.tv_sec;
arg->params[0].u.value.b = ts.tv_nsec;