projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29dcea8
)
tee: replace getnstimeofday64() with ktime_get_real_ts64()
author
Arnd Bergmann
<arnd@arndb.de>
Mon, 18 Jun 2018 14:24:56 +0000
(16:24 +0200)
committer
Jens Wiklander
<jens.wiklander@linaro.org>
Tue, 19 Jun 2018 14:37:14 +0000
(16:37 +0200)
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>
drivers/tee/optee/rpc.c
patch
|
blob
|
history
diff --git
a/drivers/tee/optee/rpc.c
b/drivers/tee/optee/rpc.c
index 41aea12e2bccd9f4ab55b3f77706753330850667..b45c73dd37a54831c867d7ccb94a2a14cbc3939c 100644
(file)
--- 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;
-
getnstimeofday
64(&ts);
+
ktime_get_real_ts
64(&ts);
arg->params[0].u.value.a = ts.tv_sec;
arg->params[0].u.value.b = ts.tv_nsec;