Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753993AbbHGPWk (ORCPT ); Fri, 7 Aug 2015 11:22:40 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:34413 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753234AbbHGPWg (ORCPT ); Fri, 7 Aug 2015 11:22:36 -0400 From: James Hogan To: CC: , James Hogan , "Michal Simek" Subject: [PATCH v2 01/11] microblaze: Export __strnlen_user to modules Date: Fri, 7 Aug 2015 16:21:54 +0100 Message-ID: <1438960924-23628-2-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 Content-Length: 1042 Lines: 30 Update the microblaze architecture code to export __strnlen_user() to modules, so they can make use of strnlen_user(). For example the test_user_copy module will soon test it. Signed-off-by: James Hogan Cc: Michal Simek --- arch/microblaze/kernel/microblaze_ksyms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/kernel/microblaze_ksyms.c b/arch/microblaze/kernel/microblaze_ksyms.c index 9f1d02c4c5cc..baf7a2340d97 100644 --- a/arch/microblaze/kernel/microblaze_ksyms.c +++ b/arch/microblaze/kernel/microblaze_ksyms.c @@ -31,6 +31,7 @@ EXPORT_SYMBOL(_mcount); */ EXPORT_SYMBOL(__copy_tofrom_user); EXPORT_SYMBOL(__strncpy_user); +EXPORT_SYMBOL(__strnlen_user); #ifdef CONFIG_OPT_LIB_ASM EXPORT_SYMBOL(memcpy); -- 2.3.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/