]> git.karo-electronics.de Git - karo-tx-linux.git/commit
openrisc: pass correct arg to schedule_tail
authorJonas Bonn <jonas@southpole.se>
Sun, 14 Oct 2012 14:19:52 +0000 (16:19 +0200)
committerJonas Bonn <jonas@southpole.se>
Fri, 19 Oct 2012 16:32:36 +0000 (18:32 +0200)
commit287ad220cd8b5a9d29f71c78f6e4051093f051fc
treedc04df7d8474f1f9a5fb597423f955595ba24a0d
parentddffeb8c4d0331609ef2581d84de4d763607bd37
openrisc: pass correct arg to schedule_tail

schedule_tail() requires that the 'prev' task be passed as an argument
to it.  This arg is set in _switch, just before 'returning' to one of
the ret_* functions where schedule_tail is invoked.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
arch/openrisc/kernel/entry.S
arch/openrisc/kernel/process.c