Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752569Ab3GAFxT (ORCPT ); Mon, 1 Jul 2013 01:53:19 -0400 Received: from LGEMRELSE7Q.lge.com ([156.147.1.151]:65402 "EHLO LGEMRELSE7Q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782Ab3GAFxS (ORCPT ); Mon, 1 Jul 2013 01:53:18 -0400 X-AuditID: 9c930197-b7bf9ae000003cc9-77-51d1194c785d From: Joonsoo Kim To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, Joonsoo Kim Subject: [PATCH] ktime: add missing declaration of ktime_get() in ktime.h Date: Mon, 1 Jul 2013 14:53:15 +0900 Message-Id: <1372657995-10903-1-git-send-email-iamjoonsoo.kim@lge.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 909 Lines: 25 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 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/