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: Victor Kamensky X-Patchwork-Id: 4900151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 42BC79F349 for ; Sat, 13 Sep 2014 19:39:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3517201F2 for ; Sat, 13 Sep 2014 19:43:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 11D43201EF for ; Sat, 13 Sep 2014 19:43:13 +0000 (UTC) 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=O1aIUpqwZIkz7lqSLRsxrg4qaU/U7CdVI4FLrIiHXAA=; b=Qi3LGhA10bNKmaYSqHJH6m8kA/W9YaO73hZzocb8zluaGqiIIMKHgYxWCLVg9XAuUG 0QVzDQGXmC1LwVSUlEKg9t9CkTFBBpZbzrvPeDccABxi4t+O3QjZ0b3h2p2sKVAt/Ri7 NF/QueF6avWuvEOaLxDYc2Wv5AH0+o0Io6TySos56nq/lqMTK3kqhN8tv2YF8L96LCAP 8h7SHD1nvokpzgNXjMVfqUwxCGdrnIULckE1t7BadQAR7FJiQABm6uj25a7zNNOs8/Rr IplpSnZcCyNDjQ4TiI/siw9H+Xd9Os+/h0iQ7FdNwVMtnn9ekx13niGpr2fJ9hM+jzzq 69WQ== X-Gm-Message-State: ALoCoQlNJVAKNzcL5f4Gh7Q1gqFTBsPA+O1J9dXqEXewMgFDavKbozBJIz3b3DHobcuryhjEeuTO 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 (--) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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);