diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-06-18 16:24:56 +0200 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2018-06-19 16:37:14 +0200 |
commit | cf89fe88a676d9482313b6b674e9edce34591400 (patch) | |
tree | bab22fb32945e1b5de7a73e94903668887b7837b /drivers/tee/optee | |
parent | 29dcea88779c856c7dc92040a0c01233263101d4 (diff) | |
download | linux-stable-cf89fe88a676d9482313b6b674e9edce34591400.tar.gz linux-stable-cf89fe88a676d9482313b6b674e9edce34591400.tar.bz2 linux-stable-cf89fe88a676d9482313b6b674e9edce34591400.zip |
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>
Diffstat (limited to 'drivers/tee/optee')
-rw-r--r-- | drivers/tee/optee/rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tee/optee/rpc.c b/drivers/tee/optee/rpc.c index 41aea12e2bcc..b45c73dd37a5 100644 --- a/drivers/tee/optee/rpc.c +++ b/drivers/tee/optee/rpc.c @@ -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; |