Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754050AbbHGPZB (ORCPT ); Fri, 7 Aug 2015 11:25:01 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:5558 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753622AbbHGPWi (ORCPT ); Fri, 7 Aug 2015 11:22:38 -0400 From: James Hogan To: CC: , James Hogan , "Chris Zankel" , Max Filippov , Subject: [PATCH v2 04/11] xtensa: Export __strnlen_user to modules Date: Fri, 7 Aug 2015 16:21:57 +0100 Message-ID: <1438960924-23628-5-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: 1109 Lines: 33 Update the Xtensa architecture code to export __strnlen_user() to modules, so that modules can make use of strnlen_user() and strlen_user(). For example the test_user_copy module will soon test them. Signed-off-by: James Hogan Cc: Chris Zankel Cc: Max Filippov Cc: linux-xtensa@linux-xtensa.org --- arch/xtensa/kernel/xtensa_ksyms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c index 4d2872fd9bb5..1a47bb621816 100644 --- a/arch/xtensa/kernel/xtensa_ksyms.c +++ b/arch/xtensa/kernel/xtensa_ksyms.c @@ -42,6 +42,7 @@ EXPORT_SYMBOL(memset); EXPORT_SYMBOL(memcpy); EXPORT_SYMBOL(memmove); EXPORT_SYMBOL(__strncpy_user); +EXPORT_SYMBOL(__strnlen_user); EXPORT_SYMBOL(clear_page); EXPORT_SYMBOL(copy_page); -- 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/