[PATCH 6/9] UML - Export clear_user_*

From: Jeff Dike
Date: Tue May 17 2005 - 23:40:49 EST


>From Oleg Drokin:
This patch is needed to support kernel modules that want to use clear_user()
(that is exported symbol on all other architectures).

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

Index: linux-2.6.12-rc/arch/um/kernel/ksyms.c
===================================================================
--- linux-2.6.12-rc.orig/arch/um/kernel/ksyms.c 2005-05-02 19:42:47.000000000 -0400
+++ linux-2.6.12-rc/arch/um/kernel/ksyms.c 2005-05-06 21:47:49.000000000 -0400
@@ -57,6 +57,7 @@
EXPORT_SYMBOL(strncpy_from_user_skas);
EXPORT_SYMBOL(copy_to_user_skas);
EXPORT_SYMBOL(copy_from_user_skas);
+EXPORT_SYMBOL(clear_user_skas);
#endif
EXPORT_SYMBOL(uml_strdup);

Index: linux-2.6.12-rc/arch/um/kernel/tt/ksyms.c
===================================================================
--- linux-2.6.12-rc.orig/arch/um/kernel/tt/ksyms.c 2005-03-02 02:38:26.000000000 -0500
+++ linux-2.6.12-rc/arch/um/kernel/tt/ksyms.c 2005-05-06 21:47:49.000000000 -0400
@@ -12,6 +12,7 @@
EXPORT_SYMBOL(__do_strncpy_from_user);
EXPORT_SYMBOL(__do_strnlen_user);
EXPORT_SYMBOL(__do_clear_user);
+EXPORT_SYMBOL(clear_user_tt);

EXPORT_SYMBOL(tracing_pid);
EXPORT_SYMBOL(honeypot);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/