Messages in this thread Patch in this message | | | From | Joonsoo Kim <> | Subject | [PATCH] ktime: add missing declaration of ktime_get() in ktime.h | Date | Mon, 1 Jul 2013 14:53:15 +0900 |
| |
We cannot use ktime_get() API even if we include ktime.h, because there is no declaration of this API in ktime.h. So add it.
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
diff --git a/include/linux/ktime.h b/include/linux/ktime.h index bbca128..29954cd 100644 --- a/include/linux/ktime.h +++ b/include/linux/ktime.h @@ -357,6 +357,7 @@ static inline bool ktime_to_timespec_cond(const ktime_t kt, struct timespec *ts) #define LOW_RES_NSEC TICK_NSEC #define KTIME_LOW_RES (ktime_t){ .tv64 = LOW_RES_NSEC } +extern ktime_t ktime_get(void); /* Get the monotonic time in timespec format: */ extern void ktime_get_ts(struct timespec *ts); -- 1.7.9.5
| |