Update the nios2 architecture code to export strncpy_from_user() and strnlen_user() to modules. The test_user_copy module will soon test them. Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx> Cc: Ley Foon Tan <lftan@xxxxxxxxxx> Cc: nios2-dev@xxxxxxxxxxxxxxxxxxxxxx --- arch/nios2/mm/uaccess.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/nios2/mm/uaccess.c b/arch/nios2/mm/uaccess.c index 7663e156ff4f..ecd8b122948b 100644 --- a/arch/nios2/mm/uaccess.c +++ b/arch/nios2/mm/uaccess.c @@ -146,6 +146,7 @@ long strncpy_from_user(char *__to, const char __user *__from, long __len) l--; return l; } +EXPORT_SYMBOL(strncpy_from_user); long strnlen_user(const char __user *s, long n) { @@ -161,3 +162,4 @@ long strnlen_user(const char __user *s, long n) } return n + 1; } +EXPORT_SYMBOL(strnlen_user); -- 2.3.6 -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html