Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204636
b: refs/heads/master
c: 570e3e2
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Aug 4, 2010
1 parent d2540ae commit 8733939
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79aac889037027bebf7fcfc4cf9f2eb25f4f8075
refs/heads/master: 570e3e236efdf5bb4a023ecc3601dad9273a011e
14 changes: 7 additions & 7 deletions trunk/arch/microblaze/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -476,13 +476,13 @@ C_ENTRY(sys_vfork):

C_ENTRY(sys_clone):
bnei r6, 1f; /* See if child SP arg (arg 1) is 0. */
lwi r6, r1, PTO+PT_R1; /* If so, use paret's stack ptr */
1: la r7, r1, PTO; /* Arg 2: parent context */
add r8, r0, r0; /* Arg 3: (unused) */
add r9, r0, r0; /* Arg 4: (unused) */
add r10, r0, r0; /* Arg 5: (unused) */
brid do_fork /* Do real work (tail-call) */
nop;
lwi r6, r1, PTO + PT_R1; /* If so, use paret's stack ptr */
1: add r10, r0, r9; /* Arg 6: (child_tidptr) */
add r9, r0, r8; /* Arg 5: (parent_tidptr) */
add r8, r0, r7; /* Arg 4: (stack_size) */
la r7, r1, PTO; /* Arg 3: pt_regs */
brid do_fork /* Do real work (tail-call) */
nop

C_ENTRY(sys_execve):
la r8, r1, PTO; /* add user context as 4th arg */
Expand Down

0 comments on commit 8733939

Please sign in to comment.