]> Git Repo - linux.git/commitdiff
tee: replace getnstimeofday64() with ktime_get_real_ts64()
authorArnd Bergmann <[email protected]>
Mon, 18 Jun 2018 14:24:56 +0000 (16:24 +0200)
committerJens Wiklander <[email protected]>
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 <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
drivers/tee/optee/rpc.c

index 41aea12e2bccd9f4ab55b3f77706753330850667..b45c73dd37a54831c867d7ccb94a2a14cbc3939c 100644 (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;
 
This page took 0.070041 seconds and 4 git commands to generate.