diff options
author | Philippe Reynes <tremyfr@yahoo.fr> | 2010-12-05 21:53:22 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-17 16:52:42 +0100 |
commit | f66d4b05e1dc9f835b2ca9fcd012e1a8d2aeed3f (patch) | |
tree | a3e2f7bbcbe9397a72192a3f84775bdba7d1db5c /board/qemu/sh4-r2d/kernel-patches | |
parent | d6c864dc8ca38ce108dc411fdf0bad5c25b29386 (diff) |
board: Add Qemu SH4 r2d configuration
[ 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>
Diffstat (limited to 'board/qemu/sh4-r2d/kernel-patches')
-rw-r--r-- | board/qemu/sh4-r2d/kernel-patches/linux-06-17-SH-Add-missing-consts-to-sys_execve-declaration.patch | 17 | ||||
-rw-r--r-- | board/qemu/sh4-r2d/kernel-patches/linux-sh-fix-kconfig-warning.patch | 13 |
2 files changed, 30 insertions, 0 deletions
diff --git a/board/qemu/sh4-r2d/kernel-patches/linux-06-17-SH-Add-missing-consts-to-sys_execve-declaration.patch b/board/qemu/sh4-r2d/kernel-patches/linux-06-17-SH-Add-missing-consts-to-sys_execve-declaration.patch new file mode 100644 index 000000000..f702abe04 --- /dev/null +++ b/board/qemu/sh4-r2d/kernel-patches/linux-06-17-SH-Add-missing-consts-to-sys_execve-declaration.patch @@ -0,0 +1,17 @@ +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, diff --git a/board/qemu/sh4-r2d/kernel-patches/linux-sh-fix-kconfig-warning.patch b/board/qemu/sh4-r2d/kernel-patches/linux-sh-fix-kconfig-warning.patch new file mode 100644 index 000000000..0ac07f2b6 --- /dev/null +++ b/board/qemu/sh4-r2d/kernel-patches/linux-sh-fix-kconfig-warning.patch @@ -0,0 +1,13 @@ +diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig +index 33990fa..06645b6 100644 +--- a/arch/sh/Kconfig ++++ b/arch/sh/Kconfig +@@ -45,7 +45,7 @@ config SUPERH32 + select HAVE_ARCH_KGDB + select HAVE_HW_BREAKPOINT + select HAVE_MIXED_BREAKPOINTS_REGS +- select PERF_EVENTS if HAVE_HW_BREAKPOINT ++ select PERF_EVENTS + select ARCH_HIBERNATION_POSSIBLE if MMU + + config SUPERH64 |