projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b6706
)
microblaze: Fix bug with schedule_tail
author
Michal Simek
<monstr@monstr.eu>
Tue, 9 Oct 2012 07:32:32 +0000
(09:32 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Thu, 15 Nov 2012 10:56:27 +0000
(11:56 +0100)
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/entry.S
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/entry.S
b/arch/microblaze/kernel/entry.S
index 03f7b8ce6b6bcc6968816b1ef09d50401a35ee21..1cf702ab7463b1d7fce434d19aad16a23ceca4b6 100644
(file)
--- a/
arch/microblaze/kernel/entry.S
+++ b/
arch/microblaze/kernel/entry.S
@@
-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 r
3, r5
, r0; /* switch_thread returns the prev task */
+ add r
5, 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. */