Skip to content

Commit

Permalink
microblaze: Fix bug with schedule_tail
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek authored and Michal Simek committed Nov 15, 2012
1 parent 77b6706 commit fd11ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ C_ENTRY(sys_fork_wrapper):
saved context). */
C_ENTRY(ret_from_fork):
bralid r15, schedule_tail; /* ...which is schedule_tail's arg */
add r3, r5, r0; /* switch_thread returns the prev task */
add r5, r3, r0; /* switch_thread returns the prev task */
/* ( in the delay slot ) */
brid ret_from_trap; /* Do normal trap return */
add r3, r0, r0; /* Child's fork call should return 0. */
Expand Down

0 comments on commit fd11ff7

Please sign in to comment.