From patchwork Thu Apr 2 03:34:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 46697 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 754AF216D1 for ; Thu, 2 Apr 2015 03:38:01 +0000 (UTC) Received: by lbbug6 with SMTP id ug6sf14510197lbb.3 for ; Wed, 01 Apr 2015 20:38:00 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=+qKJeWYuOxyyhkF5VCWpJDBQ00sdWx23xlyPc5gTp8s=; b=jFShLGSTg/aYDlBhlHrrMMIUwfMKlzxUYKBwAO8hfmrjiEHhFJC4vF24w5nhy44Rs+ s07Wc9oYcuw0Sg9Y5eG1lh0c7s8ncNrLFQsbRWV6S9Kg349sDjFGV1PgTEHKh5ZYq+/C SieoqQj4lm58VdSFvbPsvOApayCJr86bU833JJ/pkFnAJNCdvr4FSAUYnkHn+SnBZCfY Drlwk8C/LTUVe3Mu8t4+Iv5Sv+ziSkdSHrbocXwdOI6snpocW0bIEk39zHqDRoXiwcEK WksLA/r64l98D0wJGEP1CU++L2OiRxjQr5u34JprCidezyO+by93WSY4UeyaT/DL7s8j Y4LQ== X-Gm-Message-State: ALoCoQlWOgFYmmcu3KPusrFDgToRGQosvtP1KTjDgmBU0eRTbCBAFgbpALUxhdFOQN7gXC1KbHnT X-Received: by 10.180.88.196 with SMTP id bi4mr2604528wib.5.1427945880436; Wed, 01 Apr 2015 20:38:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.166 with SMTP id jp6ls169764lab.101.gmail; Wed, 01 Apr 2015 20:38:00 -0700 (PDT) X-Received: by 10.152.115.134 with SMTP id jo6mr25569279lab.10.1427945880048; Wed, 01 Apr 2015 20:38:00 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id ll8si3131792lac.95.2015.04.01.20.37.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 20:37:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by lagg8 with SMTP id g8so51152369lag.1 for ; Wed, 01 Apr 2015 20:37:59 -0700 (PDT) X-Received: by 10.152.19.199 with SMTP id h7mr39784267lae.32.1427945879618; Wed, 01 Apr 2015 20:37:59 -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.57.201 with SMTP id k9csp1064218lbq; Wed, 1 Apr 2015 20:37:58 -0700 (PDT) X-Received: by 10.70.89.237 with SMTP id br13mr82077988pdb.135.1427945877852; Wed, 01 Apr 2015 20:37:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qy7si5515676pab.240.2015.04.01.20.37.53; Wed, 01 Apr 2015 20:37:57 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753386AbbDBDht (ORCPT + 27 others); Wed, 1 Apr 2015 23:37:49 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:35427 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753054AbbDBDfE (ORCPT ); Wed, 1 Apr 2015 23:35:04 -0400 Received: by patj18 with SMTP id j18so71306178pat.2 for ; Wed, 01 Apr 2015 20:35:03 -0700 (PDT) X-Received: by 10.70.0.176 with SMTP id 16mr84234462pdf.78.1427945703497; Wed, 01 Apr 2015 20:35:03 -0700 (PDT) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id da10sm3572603pac.42.2015.04.01.20.35.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Apr 2015 20:35:02 -0700 (PDT) From: John Stultz To: lkml Cc: Xunlei Pang , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , John Stultz Subject: [PATCH 14/21] alpha: rtc: Change to use rtc_class_ops's set_mmss64() Date: Wed, 1 Apr 2015 20:34:34 -0700 Message-Id: <1427945681-29972-15-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427945681-29972-1-git-send-email-john.stultz@linaro.org> References: <1427945681-29972-1-git-send-email-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Xunlei Pang Change alpha_rtc_set_mmss() and remote_set_mmss() to use rtc_class_ops's set_mmss64(). Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Acked-by: Alessandro Zummo Signed-off-by: Xunlei Pang Signed-off-by: John Stultz --- arch/alpha/kernel/rtc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/alpha/kernel/rtc.c b/arch/alpha/kernel/rtc.c index c8d284d..f535a3f 100644 --- a/arch/alpha/kernel/rtc.c +++ b/arch/alpha/kernel/rtc.c @@ -116,7 +116,7 @@ alpha_rtc_set_time(struct device *dev, struct rtc_time *tm) } static int -alpha_rtc_set_mmss(struct device *dev, unsigned long nowtime) +alpha_rtc_set_mmss(struct device *dev, time64_t nowtime) { int retval = 0; int real_seconds, real_minutes, cmos_minutes; @@ -211,7 +211,7 @@ alpha_rtc_ioctl(struct device *dev, unsigned int cmd, unsigned long arg) static const struct rtc_class_ops alpha_rtc_ops = { .read_time = alpha_rtc_read_time, .set_time = alpha_rtc_set_time, - .set_mmss = alpha_rtc_set_mmss, + .set_mmss64 = alpha_rtc_set_mmss, .ioctl = alpha_rtc_ioctl, }; @@ -276,7 +276,7 @@ do_remote_mmss(void *data) } static int -remote_set_mmss(struct device *dev, unsigned long now) +remote_set_mmss(struct device *dev, time64_t now) { union remote_data x; if (smp_processor_id() != boot_cpuid) { @@ -290,7 +290,7 @@ remote_set_mmss(struct device *dev, unsigned long now) static const struct rtc_class_ops remote_rtc_ops = { .read_time = remote_read_time, .set_time = remote_set_time, - .set_mmss = remote_set_mmss, + .set_mmss64 = remote_set_mmss, .ioctl = alpha_rtc_ioctl, }; #endif