Message ID | 1437875633-5715-1-git-send-email-xlpang@126.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBCN6JTVP2IEBBH742CWQKGQEHFZICZI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id DF7A722DAA for <linaro@patches.linaro.org>; Sun, 26 Jul 2015 01:55:44 +0000 (UTC) Received: by lagw2 with SMTP id w2sf17755880lag.3 for <linaro@patches.linaro.org>; Sat, 25 Jul 2015 18:55:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=/Bw+PqsHfn/tRvecMXS7hxoNqtkjGHP0r6OPFvxFeks=; b=M8j6MkZbjBsB8wYz/8N2soZWtnKhnjAdkFUpLu4oqxoyXnVaR1nw+prdZ3/WuhLZ0J XNfo1FXBvxM+B+zZE/Ie+mohHPFfekD5IxxC6ciwK3HP65aoOLCc1SoAW1NgZuViDcea 3FvXNbzao1lDi015As3NXypJkQfywrVsAj2AKo8Ku18TYhE2M6n5uqtAj50/R3pPjgEC Obidynk5/pcz7b0wTzN2pvyvXuz/cwjLGfAnt7mz2FeZSseap2M88JwXONft3SGo9hyF 0Xo8Bi1GkhUDAlBydfNR8qHuLVNWqvoVmd1d99Z/BveyLZVEMnI8uVtoLT7v/xFuJAc2 OmtA== X-Gm-Message-State: ALoCoQk70huNOy5dakfjdaafp7mKFiSJXuIxbiU4aHpyaLJAKMfyAbjkaMrQsMbJsjUV2Kl4QuSk X-Received: by 10.152.87.46 with SMTP id u14mr6749869laz.5.1437875743938; Sat, 25 Jul 2015 18:55:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.102 with SMTP id s6ls492073lag.102.gmail; Sat, 25 Jul 2015 18:55:43 -0700 (PDT) X-Received: by 10.112.46.130 with SMTP id v2mr20330586lbm.119.1437875743617; Sat, 25 Jul 2015 18:55:43 -0700 (PDT) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com. [2a00:1450:4010:c03::234]) by mx.google.com with ESMTPS id ud5si11587122lac.28.2015.07.25.18.55.43 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Jul 2015 18:55:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::234 as permitted sender) client-ip=2a00:1450:4010:c03::234; Received: by lafd3 with SMTP id d3so21433809laf.1 for <patchwork-forward@linaro.org>; Sat, 25 Jul 2015 18:55:43 -0700 (PDT) X-Received: by 10.152.203.134 with SMTP id kq6mr20651329lac.106.1437875743077; Sat, 25 Jul 2015 18:55:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp782883lba; Sat, 25 Jul 2015 18:55:41 -0700 (PDT) X-Received: by 10.66.157.167 with SMTP id wn7mr50112118pab.119.1437875741193; Sat, 25 Jul 2015 18:55:41 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pg3si32606420pdb.40.2015.07.25.18.55.39; Sat, 25 Jul 2015 18:55:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945895AbbGZBzc (ORCPT <rfc822;matthew.hart@linaro.org> + 28 others); Sat, 25 Jul 2015 21:55:32 -0400 Received: from m50-110.126.com ([123.125.50.110]:55223 "EHLO m50-110.126.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755079AbbGZBza (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 25 Jul 2015 21:55:30 -0400 Received: from localhost.localdomain (unknown [210.21.223.3]) by smtp4 (Coremail) with SMTP id jdKowAAHrCTXPbRVwMbaAQ--.5958S3; Sun, 26 Jul 2015 09:54:38 +0800 (CST) From: Xunlei Pang <xlpang@126.com> To: linux-kernel@vger.kernel.org Cc: Thomas Gleixner <tglx@linutronix.de>, David Howells <dhowells@redhat.com>, Koichi Yasutake <yasutake.koichi@jp.panasonic.com>, linux-am33-list@redhat.com, Xunlei Pang <pang.xunlei@linaro.org>, John Stultz <john.stultz@linaro.org>, Arnd Bergmann <arnd@arndb.de> Subject: [PATCH v2 1/2] time: Add the common weak version of update_persistent_clock() Date: Sun, 26 Jul 2015 09:53:52 +0800 Message-Id: <1437875633-5715-1-git-send-email-xlpang@126.com> X-Mailer: git-send-email 1.9.1 X-CM-TRANSID: jdKowAAHrCTXPbRVwMbaAQ--.5958S3 X-Coremail-Antispam: 1Uf129KBjvdXoW7JFyDKrW5JFyrXr1fKr1UGFg_yoWDuFcEgr 12qFykKr1ktF9ayF1qya1SqF95trWYvF1qvwsIgFWxJr1DJF1UJry2g393Xw1UZFW09r17 uF45C3y3tr13JjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUnenmtUUUUU== X-Originating-IP: [210.21.223.3] X-CM-SenderInfo: p0ost0bj6rjloofrz/1tbiXB9Dv1R0Xn-qWgAAsO Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Original-Sender: xlpang@126.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::234 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@126.com; dmarc=fail (p=NONE dis=NONE) header.from=126.com Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index fb4d98c..df68cb8 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@ -487,6 +487,11 @@ out: } #ifdef CONFIG_GENERIC_CMOS_UPDATE +int __weak update_persistent_clock(struct timespec now) +{ + return -ENODEV; +} + int __weak update_persistent_clock64(struct timespec64 now64) { struct timespec now;