Messages in this thread | | | Date | Wed, 29 Oct 2014 16:00:41 +0530 | From | Heena Sirwani <> | 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
| |