Received: by 10.192.165.148 with SMTP id m20csp742143imm; Fri, 20 Apr 2018 15:00:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Ckd6Et3qXyO8O5zcQGKz+0VdfS2q95Y882mii8Jg6YWj4RnCrGenKjHDFuGCN6q/8/HWn X-Received: by 2002:a17:902:6689:: with SMTP id e9-v6mr11874198plk.176.1524261648439; Fri, 20 Apr 2018 15:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524261648; cv=none; d=google.com; s=arc-20160816; b=FrNiZjdBEyQnZN6YC+DZhWEJTb/k6iecvTa6W1tZoJqIyUfl/cBc0if6eFe1HKE5L7 yM+UDEK2bNMB9L8jyU6IKEL9c8gFyjg+kUvZG1nhw62mii5jQaGgh1kOafTmNVgCtdsv y6GiHn4/w7B4aMpgfJQ3zm7FQykbeqg7+Ah6+E8uvlTNLyjkAj56oIP1mPQleqihbQPz En9GvE87APQ3NxU2um2BUCslSWBlB9z3Y7dcTP/nv4vnS9Z9YP1v5jjV1R+ExOMcQ+rN jDI0WFoUG29mttg3rt0i/1+baDQ19ZYcYK6yKIiLFYG3i294gzXoUMzMvBBp0Nj71qRI IJ2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=f+L0s+bavYu5QEU77ckVbHqByxKJIgoLoA7f1GkQT3Q=; b=vWgDwSaoTn/g7y5qD1RqbirzJjkqyFAKrnrr1gG8zXmo3iyC3QNFUqwJS/O4EfPk9N fSf03PbR8yKIQ6xgeHPbZpHWNMKGMHiQ5vlvvw8U0H2CJTIgh51TTVYocXD6GcErDXbE kWDK9JK4NVxkXlBjPp+bhLJC95jKN0pm9PEmJ7mlQ2Ht225fbb64+07TCWTIreNzr741 Q646vRiSE6Qj86FVTJXTUQkrh8RrMPej24aEn5d3Q1NARUj3yycf5R87I07/Hc718xJJ 1FrsXc2ivE7xBQR0z1q5Fju+M3e9UW0p1XPy4YujetwrlAeX3qX6BgVDAq+qTwZ8xKbH JWOA== ARC-Authentication-Results: i=1; mx.google.com; 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 a10si5487839pgn.636.2018.04.20.15.00.09; Fri, 20 Apr 2018 15:00:48 -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; 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 S1752308AbeDTV50 (ORCPT + 99 others); Fri, 20 Apr 2018 17:57:26 -0400 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:46150 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751227AbeDTV5Z (ORCPT ); Fri, 20 Apr 2018 17:57:25 -0400 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1f9e1p-0002F3-00; Fri, 20 Apr 2018 21:57:13 +0000 Date: Fri, 20 Apr 2018 17:57:13 -0400 From: Rich Felker To: Arnd Bergmann Cc: Baolin Wang , Yoshinori Sato , Linux-sh list , Mark Brown , Jonathan Corbet , "open list:DOCUMENTATION" , Linux Kernel Mailing List Subject: Re: [PATCH 4/4] sh: remove board_time_init() callback Message-ID: <20180420215713.GT3094@brightrain.aerifal.cx> References: <20180420154933.3235131-1-arnd@arndb.de> <20180420154933.3235131-4-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 11:51:18PM +0200, Arnd Bergmann wrote: > 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. If there are no other issues to correct, I can fix this when merging. Rich