From patchwork Sat Sep 13 19:39:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vkamensky X-Patchwork-Id: 37371 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F3B7020CA0 for ; Sat, 13 Sep 2014 19:42:30 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id n12sf1261001wgh.9 for ; Sat, 13 Sep 2014 12:42:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=ZIMy313L1EWmD0r8sMaEi0bVEfGYhUHBDhQmyFOOH8A=; b=XG6jjN0uSOI1JA9aNIg7RFdn/iC8cYj/5kyOCNLz95GiUNCJs2X64YCjm88p1Y615A ihpQHOhBPesg4Xxhn1nMa7D8/S4JHmlwMtILOsCtF00xZ6pJt5a2vyEueVGKNmbu/1rQ t27NeKleIn+/9/oZQ+K/MNjG9IgUH6pOwP8gCtCASMMlz/0rfKsWpCRRhOOyIxfzeK8G 4fa1nOfUHG/VSrXgkWJ2xAKTZ1+Yc/L1Qj4o1a+EA7t7dDfgDBkg+grLS/5RO4SwvIKj mx9Y4RE2zG0NloN4wuwU2eUo3BDSadtlNmff3iG7er06Otzk+1CIa4t8mrMWu1wbm/k4 PEnA== X-Gm-Message-State: ALoCoQk7uQLOv/ZQCiYGMwNO/R4K/kGwRnLECgnNhC0vq/XIdMZttBRBlJliqrCJSvwrz4QApx3c X-Received: by 10.180.105.3 with SMTP id gi3mr3029707wib.3.1410637350061; Sat, 13 Sep 2014 12:42:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.175 with SMTP id az15ls254420lab.96.gmail; Sat, 13 Sep 2014 12:42:29 -0700 (PDT) X-Received: by 10.112.34.143 with SMTP id z15mr16826353lbi.86.1410637349815; Sat, 13 Sep 2014 12:42:29 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by mx.google.com with ESMTPS id q3si12537424lbj.123.2014.09.13.12.42.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 13 Sep 2014 12:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id mc6so2717654lab.17 for ; Sat, 13 Sep 2014 12:42:29 -0700 (PDT) X-Received: by 10.112.171.202 with SMTP id aw10mr274676lbc.52.1410637349705; Sat, 13 Sep 2014 12:42:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp10261lbb; Sat, 13 Sep 2014 12:42:28 -0700 (PDT) X-Received: by 10.66.145.103 with SMTP id st7mr24551942pab.43.1410637348259; Sat, 13 Sep 2014 12:42:28 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id j4si15576742pdb.62.2014.09.13.12.42.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Sep 2014 12:42:28 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XStB4-0006O5-B5; Sat, 13 Sep 2014 19:40:10 +0000 Received: from mail-pd0-f179.google.com ([209.85.192.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XStAx-0004xE-1E for linux-arm-kernel@lists.infradead.org; Sat, 13 Sep 2014 19:40:04 +0000 Received: by mail-pd0-f179.google.com with SMTP id g10so3604889pdj.10 for ; Sat, 13 Sep 2014 12:39:42 -0700 (PDT) X-Received: by 10.66.249.34 with SMTP id yr2mr24102312pac.149.1410637182036; Sat, 13 Sep 2014 12:39:42 -0700 (PDT) Received: from kamensky-w530.cisco.com (128-107-239-233.cisco.com. [128.107.239.233]) by mx.google.com with ESMTPSA id kk7sm7527735pab.31.2014.09.13.12.39.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Sep 2014 12:39:41 -0700 (PDT) From: Victor Kamensky To: linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, daniel.thompson@linaro.org Subject: [PATCH] arm: add missing exports for asm functions required by get_user macro Date: Sat, 13 Sep 2014 12:39:21 -0700 Message-Id: <1410637161-4865-2-git-send-email-victor.kamensky@linaro.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1410637161-4865-1-git-send-email-victor.kamensky@linaro.org> References: <1410637161-4865-1-git-send-email-victor.kamensky@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140913_124003_109614_60BD39EA X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -1.8 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.179 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.192.179 listed in list.dnswl.org] Cc: nicolas.pitre@linaro.org, Victor Kamensky , marc.zyngier@arm.com, will.deacon@arm.com, arnd.bergmann@linaro.org, christoffer.dall@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: victor.kamensky@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Previous commits that dealt with get_user for 64bit type missed to export proper functions, so if get_user macro with particular target/value types are used by kernel module modpost would produce 'undefined!' error. Solution is to export all required functions. Signed-off-by: Victor Kamensky --- arch/arm/kernel/armksyms.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c index f7b450f..a88671c 100644 --- a/arch/arm/kernel/armksyms.c +++ b/arch/arm/kernel/armksyms.c @@ -98,6 +98,14 @@ EXPORT_SYMBOL(__clear_user); EXPORT_SYMBOL(__get_user_1); EXPORT_SYMBOL(__get_user_2); EXPORT_SYMBOL(__get_user_4); +EXPORT_SYMBOL(__get_user_8); + +#ifdef __ARMEB__ +EXPORT_SYMBOL(__get_user_64t_1); +EXPORT_SYMBOL(__get_user_64t_2); +EXPORT_SYMBOL(__get_user_64t_4); +EXPORT_SYMBOL(__get_user_32t_8); +#endif EXPORT_SYMBOL(__put_user_1); EXPORT_SYMBOL(__put_user_2);