Browse Source

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>
Al Viro 13 years ago
parent
commit
1cedd6925a
3 changed files with 0 additions and 3 deletions
  1. 0 1
      arch/arm/kernel/sys_arm.c
  2. 0 1
      arch/hexagon/kernel/syscall.c
  3. 0 1
      arch/unicore32/kernel/sys.c

+ 0 - 1
arch/arm/kernel/sys_arm.c

@@ -120,7 +120,6 @@ int kernel_execve(const char *filename,
  out:
 	return ret;
 }
-EXPORT_SYMBOL(kernel_execve);
 
 /*
  * Since loff_t is a 64 bit type we avoid a lot of ABI hassle

+ 0 - 1
arch/hexagon/kernel/syscall.c

@@ -87,4 +87,3 @@ int kernel_execve(const char *filename,
 
 	return retval;
 }
-EXPORT_SYMBOL(kernel_execve);

+ 0 - 1
arch/unicore32/kernel/sys.c

@@ -104,7 +104,6 @@ int kernel_execve(const char *filename,
  out:
 	return ret;
 }
-EXPORT_SYMBOL(kernel_execve);
 
 /* Note: used by the compat code even in 64-bit Linux. */
 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,