diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-01-28 15:01:26 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-01-28 15:01:26 +0000 |
commit | 2a7d6f00f3b73eef0a1e83829fabc79577ec60af (patch) | |
tree | 2fbcddcd60cd12f81b262b07893c549babe8a6cf /packages/qemu/qemu-0.9.1/33_syscall_ppc_clone.patch | |
parent | 37630086504c668adf55b3709f6e9b908cb07884 (diff) |
qemu: Remove versions with negative default preferences and cleanup
Diffstat (limited to 'packages/qemu/qemu-0.9.1/33_syscall_ppc_clone.patch')
-rw-r--r-- | packages/qemu/qemu-0.9.1/33_syscall_ppc_clone.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/qemu/qemu-0.9.1/33_syscall_ppc_clone.patch b/packages/qemu/qemu-0.9.1/33_syscall_ppc_clone.patch new file mode 100644 index 0000000000..3f733b6ab8 --- /dev/null +++ b/packages/qemu/qemu-0.9.1/33_syscall_ppc_clone.patch @@ -0,0 +1,22 @@ +#DPATCHLEVEL=0 +--- +# linux-user/syscall.c | 6 +----- +# 1 file changed, 1 insertion(+), 5 deletions(-) +# +Index: linux-user/syscall.c +=================================================================== +--- linux-user/syscall.c.orig 2007-12-03 15:58:11.000000000 +0000 ++++ linux-user/syscall.c 2007-12-03 15:58:46.000000000 +0000 +@@ -2750,11 +2750,7 @@ int do_fork(CPUState *env, unsigned int + if (!newsp) + newsp = env->gpr[1]; + new_env->gpr[1] = newsp; +- { +- int i; +- for (i = 7; i < 32; i++) +- new_env->gpr[i] = 0; +- } ++ new_env->gpr[3] = 0; + #elif defined(TARGET_SH4) + if (!newsp) + newsp = env->gregs[15]; |