Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1202821

[PATCH v2 01/11] microblaze: Export __strnlen_user to modules

From James Hogan <james.hogan@imgtec.com>
Newsgroups linux.kernel
Subject [PATCH v2 01/11] microblaze: Export __strnlen_user to modules
Date 2015-08-07 17:30 +0200
Message-ID <pURKO-3vi-25@gated-at.bofh.it> (permalink)
References <pURKO-3vi-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <james.hogan@imgtec.com>
Cc: Michal Simek <monstr@monstr.eu>
---
 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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v2 01/11] microblaze: Export __strnlen_user to modules James Hogan <james.hogan@imgtec.com> - 2015-08-07 17:30 +0200

csiph-web