lkml.org 
[lkml]   [2014]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH v8 0/2] Added ktime_get_seconds() and ktime_get_real_seconds()
The following patchset adds two functions as follows:
-ktime_get_seconds() to return tv_sec portion of
ktime_get_ts64().
-ktime_get_real_seconds() to return tv_sec portion of
ktime_get_real_ts64().

Changes in v8:
-changed type of ktime_sec to unsigned long
- Added a patch with ktime_get_real_seconds().

Heena Sirwani (2):
timekeeping: Added a function to return tv_sec portion of
ktime_get_ts64()
timekeeping: Added a function to return tv_sec portion of
ktime_get_real_ts64()

include/linux/timekeeper_internal.h | 2 ++
include/linux/timekeeping.h | 2 ++
kernel/time/timekeeping.c | 41 ++++++++++++++++++++++++++++++++++---
3 files changed, 42 insertions(+), 3 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2014-10-29 12:01    [W:0.082 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site