From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754109AbbHGPZz (ORCPT ); Fri, 7 Aug 2015 11:25:55 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:41716 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753341AbbHGPWh (ORCPT ); Fri, 7 Aug 2015 11:22:37 -0400 From: James Hogan To: CC: , James Hogan , "Jonas Bonn" , Subject: [PATCH v2 03/11] openrisc: Export __clear_user to modules Date: Fri, 7 Aug 2015 16:21:56 +0100 Message-ID: <1438960924-23628-4-git-send-email-james.hogan@imgtec.com> X-Mailer: git-send-email 2.3.6 In-Reply-To: <1438960924-23628-1-git-send-email-james.hogan@imgtec.com> References: <1438960924-23628-1-git-send-email-james.hogan@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.110] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update the OpenRISC architecture code to export __clear_user() to modules, so that modules can make use of clear_user(). For example the test_user_copy module will soon test it. Signed-off-by: James Hogan Cc: Jonas Bonn Cc: linux@lists.openrisc.net --- arch/openrisc/kernel/or32_ksyms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/openrisc/kernel/or32_ksyms.c b/arch/openrisc/kernel/or32_ksyms.c index 83ccf7c0c58d..54eae8b40fda 100644 --- a/arch/openrisc/kernel/or32_ksyms.c +++ b/arch/openrisc/kernel/or32_ksyms.c @@ -44,3 +44,4 @@ DECLARE_EXPORT(__ashldi3); DECLARE_EXPORT(__lshrdi3); EXPORT_SYMBOL(__copy_tofrom_user); +EXPORT_SYMBOL(__clear_user); -- 2.3.6