From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
To: svens@stackframe.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] AVR32: Fix sys_execve breakage
Date: Thu, 09 Dec 2010 09:42:48 +0100 [thread overview]
Message-ID: <1291884168.18008.4.camel@hcegtvedt> (raw)
In-Reply-To: <1291883201-7903-2-git-send-email-svens@stackframe.org>
On Thu, 2010-12-09 at 09:26 +0100, svens@stackframe.org wrote:
> From: Sven Schnelle <svens@stackframe.org>
>
> Signed-off-by: Sven Schnelle <svens@stackframe.org>
> ---
> arch/avr32/include/asm/syscalls.h | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/arch/avr32/include/asm/syscalls.h b/arch/avr32/include/asm/syscalls.h
> index ab608b7..1440368 100644
> --- a/arch/avr32/include/asm/syscalls.h
> +++ b/arch/avr32/include/asm/syscalls.h
> @@ -21,8 +21,10 @@ asmlinkage int sys_clone(unsigned long, unsigned long,
> unsigned long, unsigned long,
> struct pt_regs *);
> asmlinkage int sys_vfork(struct pt_regs *);
> -asmlinkage int sys_execve(const char __user *, char __user *__user *,
> - char __user *__user *, struct pt_regs *);
> +asmlinkage int sys_execve(const char __user *ufilename,
> + const char __user *const __user *uargv,
> + const char __user *const __user *uenvp,
> + struct pt_regs *regs);
>
> /* kernel/signal.c */
> asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *,
Also discussed at https://lkml.org/lkml/2010/12/8/401 Sorry for not
letting you know in my first reply.
I am thinking something in the order of
>From 8e2bf82870c3324d7151493d5557244fb178dbce Mon Sep 17 00:00:00 2001
From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Date: Thu, 9 Dec 2010 09:00:01 +0100
Subject: [PATCH] avr32: use syscall prototypes from asm-generic instead of arch
This patch removes the redundant syscalls prototypes in the architecture
specific syscalls.h header file. These were identical with the ones in
asm-generic/syscalls.h.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
---
arch/avr32/include/asm/syscalls.h | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/arch/avr32/include/asm/syscalls.h b/arch/avr32/include/asm/syscalls.h
index 1440368..730a461 100644
--- a/arch/avr32/include/asm/syscalls.h
+++ b/arch/avr32/include/asm/syscalls.h
@@ -16,20 +16,9 @@
#include <linux/signal.h>
/* kernel/process.c */
-asmlinkage int sys_fork(struct pt_regs *);
asmlinkage int sys_clone(unsigned long, unsigned long,
unsigned long, unsigned long,
struct pt_regs *);
-asmlinkage int sys_vfork(struct pt_regs *);
-asmlinkage int sys_execve(const char __user *ufilename,
- const char __user *const __user *uargv,
- const char __user *const __user *uenvp,
- struct pt_regs *regs);
-
-/* kernel/signal.c */
-asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *,
- struct pt_regs *);
-asmlinkage int sys_rt_sigreturn(struct pt_regs *);
/* mm/cache.c */
asmlinkage int sys_cacheflush(int, void __user *, size_t);
--
1.7.1
--
Hans-Christian Egtvedt
next prev parent reply other threads:[~2010-12-09 8:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-21 23:28 AVR32 build fixes Sven Schnelle
2010-11-21 23:28 ` [PATCH 1/2] AVR32: Fix sys_execve breakage Sven Schnelle
2010-12-09 6:03 ` Hans-Christian Egtvedt
2010-12-09 8:26 ` [Patch v2] AVR32: fix sys_execve build breakage svens
2010-12-09 8:26 ` [PATCH] AVR32: Fix sys_execve breakage svens
2010-12-09 8:42 ` Hans-Christian Egtvedt [this message]
2010-12-09 8:28 ` svens
2010-11-21 23:28 ` [PATCH 2/2] [AVR32] Fix typo in atmel_usba_udc.c Sven Schnelle
2010-11-22 7:19 ` Hans-Christian Egtvedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1291884168.18008.4.camel@hcegtvedt \
--to=hans-christian.egtvedt@atmel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=svens@stackframe.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome