[-mm patch] fix kernel_execve() related compile errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 01, 2006 at 01:58:18AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.18-rc4-mm3:
>...
> +rename-the-provided-execve-functions-to-kernel_execve.patch
>...
>  kernel syscalls cleanup
>...

This patch fixes some typos causing compile errors.

Signed-off-by: Adrian Bunk <[email protected]>

---

 arch/arm/kernel/sys_arm.c    |    2 +-
 arch/arm26/kernel/sys_arm.c  |    2 +-
 arch/parisc/kernel/process.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.18-rc5-mm1/arch/arm/kernel/sys_arm.c.old	2006-09-03 23:32:16.000000000 +0200
+++ linux-2.6.18-rc5-mm1/arch/arm/kernel/sys_arm.c	2006-09-03 23:32:24.000000000 +0200
@@ -279,7 +279,7 @@
 	return error;
 }
 
-int kernel_execve(const char *filename, char *const argv[], char *const envp[]);
+int kernel_execve(const char *filename, char *const argv[], char *const envp[])
 {
 	struct pt_regs regs;
 	int ret;
--- linux-2.6.18-rc5-mm1/arch/arm26/kernel/sys_arm.c.old	2006-09-03 23:32:31.000000000 +0200
+++ linux-2.6.18-rc5-mm1/arch/arm26/kernel/sys_arm.c	2006-09-03 23:32:37.000000000 +0200
@@ -283,7 +283,7 @@
 }
 
 /* FIXME - see if this is correct for arm26 */
-int kernel_execve(const char *filename, char *const argv[], char *const envp[]);
+int kernel_execve(const char *filename, char *const argv[], char *const envp[])
 {
 	struct pt_regs regs;
         int ret;
--- linux-2.6.18-rc5-mm1/arch/parisc/kernel/process.c.old	2006-09-03 23:32:45.000000000 +0200
+++ linux-2.6.18-rc5-mm1/arch/parisc/kernel/process.c	2006-09-03 23:32:50.000000000 +0200
@@ -370,7 +370,7 @@
 
 extern int __execve(const char *filename, char *const argv[],
 		char *const envp[], struct task_struct *task);
-int kernel_execve(const char *filename, char *const argv[], char *const envp[]);
+int kernel_execve(const char *filename, char *const argv[], char *const envp[])
 {
 	return __execve(filename, argv, envp, current);
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux