mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
[ Thomas:
* renamed sh4_defconfig to qemu_sh4_r2d_defconfig, for consistency
with other Qemu platforms supported
* renamed board/qemu/sh4 to board/qemu/sh4-r2d
* minor fixes in the readme.txt
* remove useless statements in the minimal defconfig
* switch to a fixed kernel version instead of "same as headers"
]
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
18 lines
873 B
Diff
18 lines
873 B
Diff
diff --git a/arch/sh/include/asm/syscalls_32.h b/arch/sh/include/asm/syscalls_32.h
|
|
index be201fd..454538a 100644
|
|
--- a/arch/sh/include/asm/syscalls_32.h
|
|
+++ b/arch/sh/include/asm/syscalls_32.h
|
|
@@ -19,8 +19,10 @@ asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
|
|
asmlinkage int sys_vfork(unsigned long r4, unsigned long r5,
|
|
unsigned long r6, unsigned long r7,
|
|
struct pt_regs __regs);
|
|
-asmlinkage int sys_execve(const char __user *ufilename, char __user * __user *uargv,
|
|
- char __user * __user *uenvp, unsigned long r7,
|
|
+asmlinkage int sys_execve(const char __user *ufilename,
|
|
+ const char __user *const __user *uargv,
|
|
+ const char __user *const __user *uenvp,
|
|
+ unsigned long r7,
|
|
struct pt_regs __regs);
|
|
asmlinkage int sys_sigsuspend(old_sigset_t mask, unsigned long r5,
|
|
unsigned long r6, unsigned long r7,
|