[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060904170419.GU4416@stusta.de>
Date: Mon, 4 Sep 2006 19:04:19 +0200
From: Adrian Bunk <bunk@...sta.de>
To: Andrew Morton <akpm@...l.org>, Arnd Bergmann <arnd@...db.de>
Cc: linux-kernel@...r.kernel.org
Subject: [-mm patch] fix kernel_execve() related compile errors
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 <bunk@...sta.de>
---
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists