diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-02 14:27:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-20 09:51:28 -0400 |
commit | 1cedd6925a0fe355315687427cbe3e63e9633b4d (patch) | |
tree | 14bec1695f36bc8b07bf2d022e53da91ab0e0bf9 | |
parent | 826eba4db0c643cc0e705c8365902c63fac2b7ee (diff) |
don't bother exporting kernel_execve()
most of the architectures don't and there's not a single
caller outside of core kernel.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | arch/arm/kernel/sys_arm.c | 1 | ||||
-rw-r--r-- | arch/hexagon/kernel/syscall.c | 1 | ||||
-rw-r--r-- | arch/unicore32/kernel/sys.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/kernel/sys_arm.c b/arch/arm/kernel/sys_arm.c index 76cbb055dd05..3ba62e3cd1a2 100644 --- a/arch/arm/kernel/sys_arm.c +++ b/arch/arm/kernel/sys_arm.c | |||
@@ -120,7 +120,6 @@ int kernel_execve(const char *filename, | |||
120 | out: | 120 | out: |
121 | return ret; | 121 | return ret; |
122 | } | 122 | } |
123 | EXPORT_SYMBOL(kernel_execve); | ||
124 | 123 | ||
125 | /* | 124 | /* |
126 | * Since loff_t is a 64 bit type we avoid a lot of ABI hassle | 125 | * Since loff_t is a 64 bit type we avoid a lot of ABI hassle |
diff --git a/arch/hexagon/kernel/syscall.c b/arch/hexagon/kernel/syscall.c index 620dd18197a0..553cd60ee659 100644 --- a/arch/hexagon/kernel/syscall.c +++ b/arch/hexagon/kernel/syscall.c | |||
@@ -87,4 +87,3 @@ int kernel_execve(const char *filename, | |||
87 | 87 | ||
88 | return retval; | 88 | return retval; |
89 | } | 89 | } |
90 | EXPORT_SYMBOL(kernel_execve); | ||
diff --git a/arch/unicore32/kernel/sys.c b/arch/unicore32/kernel/sys.c index 3afe60a39ac9..5fd9af773e15 100644 --- a/arch/unicore32/kernel/sys.c +++ b/arch/unicore32/kernel/sys.c | |||
@@ -104,7 +104,6 @@ int kernel_execve(const char *filename, | |||
104 | out: | 104 | out: |
105 | return ret; | 105 | return ret; |
106 | } | 106 | } |
107 | EXPORT_SYMBOL(kernel_execve); | ||
108 | 107 | ||
109 | /* Note: used by the compat code even in 64-bit Linux. */ | 108 | /* Note: used by the compat code even in 64-bit Linux. */ |
110 | SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, | 109 | SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, |