]> git.hungrycats.org Git - linux/commitdiff
[PATCH] unexport do_execve/do_select
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2004 01:03:48 +0000 (18:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:03:48 +0000 (18:03 -0700)
These are basically shared code for native/32bit compat code, but as
CONFIG_COMPAT is a bool there's no need to export them.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/exec.c
fs/select.c

index 52ffe4e3295dc0bd27896fb4b3e2c064ab8faf41..4124b39bdd27508ab0a5dcb6f750b278e955cb60 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1187,8 +1187,6 @@ out_ret:
        return retval;
 }
 
-EXPORT_SYMBOL(do_execve);
-
 int set_binfmt(struct linux_binfmt *new)
 {
        struct linux_binfmt *old = current->binfmt;
index e0a87cb4f73355589fa91d791c54e391d466c71a..57e776cafb3b3713d42e74f4c892e76ef248c29c 100644 (file)
@@ -268,8 +268,6 @@ int do_select(int n, fd_set_bits *fds, long *timeout)
        return retval;
 }
 
-EXPORT_SYMBOL(do_select);
-
 static void *select_bits_alloc(int size)
 {
        return kmalloc(6 * size, GFP_KERNEL);