Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4192254ybg; Mon, 8 Jun 2020 01:11:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMgu+hWPQbv9akBn2mzQVaR8BhUWBm2VJjtdzclppqsNS93q5NpDVFyr76cIsqsbTp5cea X-Received: by 2002:a17:906:4d18:: with SMTP id r24mr19060860eju.222.1591603916551; Mon, 08 Jun 2020 01:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591603916; cv=none; d=google.com; s=arc-20160816; b=fk5FvCSk5JqXDH/2XRSHLZhwZo+8By4MPZ+/p/8IF2eUZZrghrFnTrFbGZmGIgmBK5 qcBkO1D9clc+YRwJs55V6URcmkW4pjIbrFQBtBpBeMjTs7a+TY0+vpIbwbLgshRko9Yh M73ao3phTEznNvuTUMRAQZ4IX9m+ngNanYx/2oxaShvAQ0ervkiGy6wCoWI45/ExXG4b yJi8lkEN9eVKUtXq6Vk/5O4EGW5BYOi+DL723b+3Wql+khTtO/gyOJASbazs5GgJPvlm cWyF9aBJMtOHRLHWLb58g9gEGE1IqGZMTBAYjX4bHE7vb/R0uqkoN5iO/UrkZGWpNqnB Jl3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=7Wm6q2IGXMuqrS2ar0wKyr1THmfkES+0bhm2nXt+SvY=; b=LGrUq4d6fi/ItGsacux6Edq3XAsuh3al9yB6sJ+y0z2olqLmzuf4y10+2hc5XfuyHG 2DHxhzUEE8JrIBTcVPuRmjodAMnMadTnBvatBWkndPt2tHz1R55QEus8D7AfjH2n04no giylzma3RVovhZjuf0PoVGz2KM+IaK/98VdyrmdXttHG705UsrYPZRdjuFlxd1Ib5J1/ GEuFinCwIEE7EUTAOZ1hDJsBwWS7UjCmSL+aoHHHvGmDHtSDLCua6KmDXm/06vUL6iIt BIarLhnmtj8Nu/z9tvufZtsBzTSrKET66HqTBdZB1ARaWSXTpgpaRGpRSh0keVBcUe/J 7tbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g7si8398958ejc.469.2020.06.08.01.11.33; Mon, 08 Jun 2020 01:11:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729101AbgFHIGo (ORCPT + 99 others); Mon, 8 Jun 2020 04:06:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729094AbgFHIGn (ORCPT ); Mon, 8 Jun 2020 04:06:43 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1B46C08C5C4 for ; Mon, 8 Jun 2020 01:06:42 -0700 (PDT) Received: from ramsan ([IPv6:2a02:1810:ac12:ed60:c85f:a5bf:b1bd:702b]) by baptiste.telenet-ops.be with bizsmtp id oY6e2200M0R8aca01Y6ejA; Mon, 08 Jun 2020 10:06:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1jiCnm-0005zj-HL; Mon, 08 Jun 2020 10:06:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1jiCnm-0007G7-Ei; Mon, 08 Jun 2020 10:06:38 +0200 From: Geert Uytterhoeven To: Yoshinori Sato , Rich Felker , "J . P . Adrian Glaubitz" Cc: Kuninori Morimoto , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] Revert "sh: add missing EXPORT_SYMBOL() for __delay" Date: Mon, 8 Jun 2020 10:06:36 +0200 Message-Id: <20200608080636.27862-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit d1f56f318d234fc5db230af2f3e0088f689ab3c0. __delay() is an internal implementation detail on several architectures. Drivers should not call __delay() directly, as it has non-standardized semantics, or may not even exist. Hence there is no need to export __delay() to modules. See also include/asm-generic/delay.h: /* Undefined functions to get compile-time errors */ ... extern void __delay(unsigned long loops); Signed-off-by: Geert Uytterhoeven --- Sorry for missing this when Adrian posted his list of mising patches. References: [1] "Re: Build regressions/improvements in v5.4-rc2" https://lore.kernel.org/r/CAMuHMdUERaoHLNKi03zCuYi7NevgBFjXrV=pt0Yy=HOeRiL25Q@mail.gmail.com/ [2] "Re: [PATCH] sh: add missing EXPORT_SYMBOL() for __delay" http://lore.kernel.org/r/CAMuHMdWb_ipn7FVHbz8=PTdGod=MW+2xHY7yuq3yJcWwNnDvcg@mail.gmail.com --- arch/sh/lib/delay.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/lib/delay.c b/arch/sh/lib/delay.c index 540e670dbafcd826..dad8e6a54906bece 100644 --- a/arch/sh/lib/delay.c +++ b/arch/sh/lib/delay.c @@ -29,7 +29,6 @@ void __delay(unsigned long loops) : "0" (loops) : "t"); } -EXPORT_SYMBOL(__delay); inline void __const_udelay(unsigned long xloops) { -- 2.17.1