[PATCH] unexport do_execve/do_select

From: Christoph Hellwig
Date: Tue Sep 07 2004 - 10:09:32 EST


These are basically shared code for native/32bit compat code, but as
CONFIG_COMPAT is a bool there's no need to export them.


--- 1.132/fs/exec.c 2004-08-27 09:02:34 +02:00
+++ edited/fs/exec.c 2004-09-07 14:25:35 +02:00
@@ -1187,8 +1187,6 @@
return retval;
}

-EXPORT_SYMBOL(do_execve);
-
int set_binfmt(struct linux_binfmt *new)
{
struct linux_binfmt *old = current->binfmt;
--- 1.23/fs/select.c 2004-08-27 09:02:39 +02:00
+++ edited/fs/select.c 2004-09-07 14:26:58 +02:00
@@ -267,8 +267,6 @@
return retval;
}

-EXPORT_SYMBOL(do_select);
-
static void *select_bits_alloc(int size)
{
return kmalloc(6 * size, GFP_KERNEL);
-
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/