From patchwork Wed Jan 27 11:13:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 75433 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0RBAApb030352 for ; Wed, 27 Jan 2010 11:10:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754329Ab0A0LKI (ORCPT ); Wed, 27 Jan 2010 06:10:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754319Ab0A0LKH (ORCPT ); Wed, 27 Jan 2010 06:10:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38540 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754219Ab0A0LKG (ORCPT ); Wed, 27 Jan 2010 06:10:06 -0500 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0RBA6jg007315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Jan 2010 06:10:06 -0500 Received: from localhost.localdomain ([10.66.91.25]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0RBA4V7015547; Wed, 27 Jan 2010 06:10:04 -0500 Subject: [PATCH 1/2] Export the symbol of getboottime and monotonic_to_bootbased To: mtosatti@redhat.com, avi@redhat.com From: Jason Wang Cc: glommer@redhat.com, kvm@vger.kernel.org Date: Wed, 27 Jan 2010 19:13:40 +0800 Message-ID: <20100127111340.25521.95424.stgit@localhost.localdomain> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 7faaa32..e2ab064 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -880,6 +880,7 @@ void getboottime(struct timespec *ts) set_normalized_timespec(ts, -boottime.tv_sec, -boottime.tv_nsec); } +EXPORT_SYMBOL_GPL(getboottime); /** * monotonic_to_bootbased - Convert the monotonic time to boot based. @@ -889,6 +890,7 @@ void monotonic_to_bootbased(struct timespec *ts) { *ts = timespec_add_safe(*ts, total_sleep_time); } +EXPORT_SYMBOL_GPL(monotonic_to_bootbased); unsigned long get_seconds(void) {