From 0f20e117ee86f781cbebb343c93b43fc1dc5e068 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 18 Oct 2004 18:03:48 -0700 Subject: [PATCH] [PATCH] unexport do_execve/do_select 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 Signed-off-by: Linus Torvalds --- fs/exec.c | 2 -- fs/select.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index 52ffe4e3295dc..4124b39bdd275 100644 --- 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; diff --git a/fs/select.c b/fs/select.c index e0a87cb4f7335..57e776cafb3b3 100644 --- a/fs/select.c +++ b/fs/select.c @@ -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); -- 2.53.0