Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp298391ybl; Wed, 11 Dec 2019 18:40:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwKteidC3EzsPLf3tp5tzcKjuvBhYAg02k7Pjc4D6elJpHczk3wzozcqWeg0e/pTCHBFs9q X-Received: by 2002:a05:6830:2142:: with SMTP id r2mr5686958otd.334.1576118427709; Wed, 11 Dec 2019 18:40:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576118427; cv=none; d=google.com; s=arc-20160816; b=JCNrn/Sc7Az7hwFR8hYOmsijuLMQG7eyIOuTyUz657apQxKMuqpurPPMrsoSOxgMNY Q+NR6rE36J4niOyqKLR6ycj4QIVVgWmjrf/W6+8nruiGr49EJtnu28+XYfExMXh7MtsX L4r8EBYI1NuqaIlQ2jvuPu3201VPOCpP4bNnaT4x8WRDtFlDsRhTd6hOAwjjKujOWr8V qeVEg19N5FaeUzL7hB129/FsB62/tWpApTavTeVhund/ILloCJqyDmgVFUx8ysT3J6Jh dYqFTOuF0RmC10gUHwyKkyzMYfyg/jo+fMia73D4/ec2tthJrJqbrSxDwB7Ox/V+3dHi Jj5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:cc:to:user-agent:subject :from:message-id:date; bh=rsY9nRvmLncOJ3ggs+9jgcszvbRI9kHuueXbfMthP5U=; b=zzXbT3cvmUhZnKJxMDYiVeoYBUv2ZsE59sHxr37b2vqBBlJzKQWwDf4OPBGyUs0FHN AZqpJYEQWxKYQa7yhDDJ1BJzG5+2v2Yk8AdpVyc/vUbeVCnj8RasyNg7R5Yq5NJPQH0k PXySRStbDIxKPz2RnCX0IaIN/IcpLiPFN52bOfjMOVJb+aCON/sO/xwQ91PyMdq33JwF lvZNUkNcWfn/olqexNwypItlOwQzyE4CMSzEJ7sG/1lEFihXsaePsFyBXVKOKU73Wqz4 9KwdXhKC+XGq/JcpYjfbL9GpALib4pXFQGbTB2LIB7sD/ZT7EHv5CRG7y3MyHlbxXBiT IvWw== 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 g6si2305397otk.171.2019.12.11.18.40.15; Wed, 11 Dec 2019 18:40:27 -0800 (PST) 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 S1727773AbfLLCip (ORCPT + 99 others); Wed, 11 Dec 2019 21:38:45 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:18212 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727705AbfLLCip (ORCPT ); Wed, 11 Dec 2019 21:38:45 -0500 Date: 12 Dec 2019 11:38:43 +0900 X-IronPort-AV: E=Sophos;i="5.69,304,1571670000"; d="scan'208";a="34173703" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 12 Dec 2019 11:38:43 +0900 Received: from morimoto-PC.renesas.com (unknown [10.166.18.140]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 74A3140061BC; Thu, 12 Dec 2019 11:38:43 +0900 (JST) Message-ID: <87wob2clos.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH] sh: add missing EXPORT_SYMBOL() for __delay User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 To: Yoshinori Sato , Rich Felker , Andrew Morton Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kuninori Morimoto __delay() is used from kernel module. We need EXPORT_SYMBOL(), otherwise we will get compile error. ERROR: "__delay" [drivers/net/phy/mdio-cavium.ko] undefined! Signed-off-by: Kuninori Morimoto --- arch/sh/lib/delay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/lib/delay.c b/arch/sh/lib/delay.c index dad8e6a..540e670 100644 --- a/arch/sh/lib/delay.c +++ b/arch/sh/lib/delay.c @@ -29,6 +29,7 @@ void __delay(unsigned long loops) : "0" (loops) : "t"); } +EXPORT_SYMBOL(__delay); inline void __const_udelay(unsigned long xloops) { -- 2.7.4