Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp298421ybl; Wed, 11 Dec 2019 18:40:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxmqyjRYxpW9czNW6OFVi1qrZW3CTkx1WqdlbSTxQi3bJEV+SL7gxevJ9+PN4BYIKzVzhjo X-Received: by 2002:a9d:7342:: with SMTP id l2mr5411685otk.98.1576118429777; Wed, 11 Dec 2019 18:40:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576118429; cv=none; d=google.com; s=arc-20160816; b=rS6raGR1dxotfqm+bBGaTTZhDvabd60K9CzGHgqgEXQlCTGR5sKUY+Z09hykCqnA7e I1KgFQT8WOOX7iKp6vw48SGj/oxy/Z0cpasB1/IMUM4J7972bCxVAA/OrotnWZSvedxE lvgDR5tvgB2S5vxTR6l5vuj0B7pOhbInzwSu4QG245wR6bJDMQo4Iyq1Dor7UIf4sL3Z SUF2lsxzK6m0ESJztJr9yCm7+uYwFSnRVfXbiMEqViH3BnRKuihBzCW6VJ/Eq6SHGTsq 1Yrg9qJtcZxwpQw0EAssPBpRL5As9QPrOUPRD8GIVeKYQhgACjbh4a7QUa7WcnOrydgV rv4Q== 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=pRenQ8Q2GQRcZ+ouU86kpJLNcgcENN/xoUrcAmdT8ps=; b=b2Q4ylJg0yinQwC7NDg4BRjI5bv8Qc9cAvD+Y8fgvx/OH7UJ4aeyRyh5ZGh2Q1bASV 3eDemMIxq8wINLxfV8cHec2WyeDjAcA9Z757DN9+Qmzina+iS+wVpyj5AkSeu2wOpyW2 InquxTs2VM2fMA16z+jbvsHCTjH3uVTr0fGFxWthBIAU8E0vC5xzM87x8AF/uO/0ormJ czQBfxi0iUFj+J1kStbK2qlbC/c95I3T9Qpikt5ucOKPgxisoYFsYOFHG4XWef3JbkNr fb28IMVDGlGrULgUDCuZ8FgbRdv5Nl27MiDNSUe20tPG33ySUSGI5YyyPuPtRhK0tONr SHrA== 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 t23si2566128otp.234.2019.12.11.18.40.18; Wed, 11 Dec 2019 18:40:29 -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 S1727821AbfLLCjC (ORCPT + 99 others); Wed, 11 Dec 2019 21:39:02 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:8008 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727705AbfLLCjB (ORCPT ); Wed, 11 Dec 2019 21:39:01 -0500 Date: 12 Dec 2019 11:38:59 +0900 X-IronPort-AV: E=Sophos;i="5.69,304,1571670000"; d="scan'208";a="34173740" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 12 Dec 2019 11:38:59 +0900 Received: from morimoto-PC.renesas.com (unknown [10.166.18.140]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id DB03240061BC; Thu, 12 Dec 2019 11:38:59 +0900 (JST) Message-ID: <87v9qmcloc.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH] sh: add missing DECLARE_EXPORT() for __ashiftrt_r4_2x 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 __ashiftrt_r4_2x is used from kernel module. We need DECLARE_EXPORT(), otherwise we will get compile error. ERROR: "__ashiftrt_r4_25" [drivers/iio/pressure/bmp280.ko] undefined! ERROR: "__ashiftrt_r4_26" [drivers/iio/dac/ad5764.ko] undefined! ERROR: "__ashiftrt_r4_26" [drivers/iio/accel/mma7660.ko] undefined! ERROR: "__ashiftrt_r4_25" [drivers/iio/accel/dmard06.ko] undefined! ERROR: "__ashiftrt_r4_26" [drivers/iio/accel/bma220_spi.ko] undefined! ERROR: "__ashiftrt_r4_25" [drivers/crypto/hisilicon/sec/hisi_sec.ko] undefined! ERROR: "__ashiftrt_r4_26" [drivers/rtc/rtc-x1205.ko] undefined! ERROR: "__ashiftrt_r4_25" [drivers/rtc/rtc-pcf85063.ko] undefined! ERROR: "__ashiftrt_r4_25" [drivers/rtc/rtc-pcf2123.ko] undefined! ERROR: "__ashiftrt_r4_25" [drivers/input/tablet/gtco.ko] undefined! ERROR: "__ashiftrt_r4_26" [drivers/input/mouse/psmouse.ko] undefined! ERROR: "__ashiftrt_r4_28" [drivers/input/mouse/psmouse.ko] undefined! ERROR: "__ashiftrt_r4_28" [drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko] undefined! ERROR: "__ashiftrt_r4_28" [fs/udf/udf.ko] undefined! Signed-off-by: Kuninori Morimoto --- arch/sh/kernel/sh_ksyms_32.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/sh/kernel/sh_ksyms_32.c b/arch/sh/kernel/sh_ksyms_32.c index 2827744..5818f98 100644 --- a/arch/sh/kernel/sh_ksyms_32.c +++ b/arch/sh/kernel/sh_ksyms_32.c @@ -53,8 +53,14 @@ DECLARE_EXPORT(__ashiftrt_r4_21); DECLARE_EXPORT(__ashiftrt_r4_22); DECLARE_EXPORT(__ashiftrt_r4_23); DECLARE_EXPORT(__ashiftrt_r4_24); +DECLARE_EXPORT(__ashiftrt_r4_25); +DECLARE_EXPORT(__ashiftrt_r4_26); DECLARE_EXPORT(__ashiftrt_r4_27); +DECLARE_EXPORT(__ashiftrt_r4_28); +DECLARE_EXPORT(__ashiftrt_r4_29); DECLARE_EXPORT(__ashiftrt_r4_30); +DECLARE_EXPORT(__ashiftrt_r4_31); +DECLARE_EXPORT(__ashiftrt_r4_32); DECLARE_EXPORT(__movstr); DECLARE_EXPORT(__movstrSI8); DECLARE_EXPORT(__movstrSI12); -- 2.7.4