[PATCH v8 0/2] Added ktime_get_seconds() and ktime_get_real_seconds()

From: Heena Sirwani
Date: Wed Oct 29 2014 - 06:30:53 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/