Received: by 10.192.165.148 with SMTP id m20csp738169imm; Fri, 20 Apr 2018 14:55:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+WkrXspoLGFTIDGW0wlmqW5cNWML9g88fgIGZH6cyGA6x2Qh4GX2LRMdHVRM6UDLsFuLAG X-Received: by 10.98.178.4 with SMTP id x4mr10263050pfe.21.1524261305799; Fri, 20 Apr 2018 14:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524261305; cv=none; d=google.com; s=arc-20160816; b=EMMrhvB5Ulc1J4UqzMbFcmbVIzOK2lMq8XK1GmbA5MMwv3kRE86BsGukWCQ3ZgfQCk PX3xQcaS02JIBplInNH2jDxzlJlam5AlEm6At7CJRsV+yQI9/YDOQlDqrINV1ypMFQxR lOLBQb23r0+EqwQiReCxAdDUtLXocWhbECQaPPGr7h4zMUucPcO03Q+g8+9tbVPS6ati lFb21mzoFUtMt3cXS4vf0Xu9gSyb08Jw3vVJl8HsUqdlZ9WlEZTb9d/EwxxQna9kIIEv L/XNGP3r2LQfccgcEU52l3gxm8Wmdh4Hes9LPvLZhzEFEc/qIgFKorlH6xFRhN+xJoMs OtsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XKdro5muKpP3VpniYJLlGIKGnj5bv1eLPIx9nX7EYuU=; b=oBJtNf3nu5cfP5KIjfwNU9ei+hPTNw/uXBZ6urVFP1SPq9NIyYz0qf7yKQRw9NkTTC 4DrcCMjMQHKxQdhlNKdgYcAsDlGer9xXH6yHIJ3kXVWwBJW2OQDSi9TcDfXMuRPFq7a1 isTaQG5O2wIafoFlPK/9Uc9iWIZuLUVmjac6EO1oRjxOveMEdwFV3yeDJi4cHsfhCekI UpxLPcSL5GdSgp2yEc4QS5HqFWfwkxPo1vWSbWUmFu9uPbgExF+0BUCQDxO8e+bI5POn uvPtF1ZD6LvX24M0Wn/hI/KjQ2JeP+ecEsqJFOCmgmoZAD9C2IWxwfJ14oh1WuoELCw/ ZCgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=u8mxZCC2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y13si6209624pfd.47.2018.04.20.14.54.27; Fri, 20 Apr 2018 14:55:05 -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; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=u8mxZCC2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752362AbeDTVvV (ORCPT + 99 others); Fri, 20 Apr 2018 17:51:21 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:35345 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751228AbeDTVvT (ORCPT ); Fri, 20 Apr 2018 17:51:19 -0400 Received: by mail-qt0-f196.google.com with SMTP id s2-v6so11454146qti.2; Fri, 20 Apr 2018 14:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=XKdro5muKpP3VpniYJLlGIKGnj5bv1eLPIx9nX7EYuU=; b=u8mxZCC28hEB9yUSJ8J2xjoHmSheo4ZoGQq1wd/wEKCNc3WDM0sLCeY4FKbEBLZ1IL SAIgLG9uX9A26C88Zk+92CsJBflw6qCoxlOVX3IW2mXFX7d6LsKs3Joi4BFzVTR0dWZV o6OP5sa3oB/iPX6PaQYF54MIqsQf1U+y5GSIyXO8ezWqoFUZIamxKoHSuaig/3CshwO9 dJQ0IvVPyu5dlpyvkgoHXWHchnDKmCxrBBya8oGxN14qnVIdE6gkri2l3Hm/alAiPrIp hwbtmy2z6Tcisvd4fEX47BwvY5W4M0ay1O0noU150PSMWAbD43H0vir44yjgz+K26VQ4 C7pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=XKdro5muKpP3VpniYJLlGIKGnj5bv1eLPIx9nX7EYuU=; b=UP/MHCoW/fV/+rdKY3/4E1hSswUOOkhHtiQNHRZFl1Iz8q8kHsr2DCkJpRU+0h6DEH 4sc/tR1yBJl2sxVKObypZaS1ojHwdY9d2SZPrvfsuyOomZbIR517p22ic9ipqG/L2EXO 0ciqDGszca96UKTStmVucCX4ieb2cHFH8GA4+/WDIJTyEKyzPJrEeewRTI7WW6h6SCwM UnfEFpye8IQs4NdBqSmLR00hu2BuxO1/58UNkXMd/r/QWOKMAaYv2svF7heKBPc5ucVb 7oRHRsz/nU9tWHD5W91wQqdbAdof0dsqyHoAshY4k8cUf/RjsXbKIoy3NPtrQBkXHp7C QM/Q== X-Gm-Message-State: ALQs6tDfFHNCBUq09A+4EwBeBU40qhfSPJPsWQNBM5OfgWWUFAsZcsaj tvxg6Phq9HTieu17L2XqSBfO1rySImwYwLt/g6w= X-Received: by 2002:ac8:d44:: with SMTP id r4-v6mr13263117qti.187.1524261078667; Fri, 20 Apr 2018 14:51:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.25 with HTTP; Fri, 20 Apr 2018 14:51:18 -0700 (PDT) In-Reply-To: <20180420154933.3235131-4-arnd@arndb.de> References: <20180420154933.3235131-1-arnd@arndb.de> <20180420154933.3235131-4-arnd@arndb.de> From: Arnd Bergmann Date: Fri, 20 Apr 2018 23:51:18 +0200 X-Google-Sender-Auth: ovDKP8fYwUz9vEAUhC5cRzS80AI Message-ID: Subject: Re: [PATCH 4/4] sh: remove board_time_init() callback To: Rich Felker Cc: Baolin Wang , Yoshinori Sato , Linux-sh list , Mark Brown , Arnd Bergmann , Jonathan Corbet , "open list:DOCUMENTATION" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 20, 2018 at 5:48 PM, Arnd Bergmann wrote: > @@ -41,8 +39,7 @@ static void __init sh_late_time_init(void) > > void __init time_init(void) > { > - if (board_time_init) > - board_time_init(); > + timer_init(); Testing revealed this to be broken, the fix is: diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c index a29eb989d81b..8a1c6c8ab4ec 100644 --- a/arch/sh/kernel/time.c +++ b/arch/sh/kernel/time.c @@ -39,7 +39,7 @@ static void __init sh_late_time_init(void) void __init time_init(void) { - timer_init(); + timer_probe(); clk_init(); Let me know if you'd like me to resend the series with that typo fixed. Arnd