diff options
author | Jonas Bonn <jonas@southpole.se> | 2013-02-15 17:07:17 +0100 |
---|---|---|
committer | Jonas Bonn <jonas@southpole.se> | 2013-02-17 08:46:21 +0100 |
commit | ae6fef1790512edde8776ee2a158b1e13d085f61 (patch) | |
tree | 234f4bfe0b5441e27228ff8fa1b4b55f304e5284 /arch/openrisc/kernel/entry.S | |
parent | b4f5b53603468ef229d16350639e293f12128b62 (diff) | |
download | blackbird-op-linux-ae6fef1790512edde8776ee2a158b1e13d085f61.tar.gz blackbird-op-linux-ae6fef1790512edde8776ee2a158b1e13d085f61.zip |
openrisc: really pass correct arg to schedule_tail
Commit 287ad220cd8b5a9d29f71c78f6e4051093f051fc tried to set up the argument
to schedule_tail, but ended up using TI_STACK which isn't a defined symbol.
Sadly, the old openrisc compiler silently ignores this fact and it was first
discovered now when building with an updated toolchain.
Reported-by: Christian Svensson <blue@cmd.nu>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Diffstat (limited to 'arch/openrisc/kernel/entry.S')
-rw-r--r-- | arch/openrisc/kernel/entry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/kernel/entry.S b/arch/openrisc/kernel/entry.S index 3de971224cfc..e7fadc0234cd 100644 --- a/arch/openrisc/kernel/entry.S +++ b/arch/openrisc/kernel/entry.S @@ -1050,7 +1050,7 @@ ENTRY(_switch) * we are expected to have set up the arg to schedule_tail already, * hence we do so here unconditionally: */ - l.lwz r3,TI_STACK(r3) /* Load 'prev' as schedule_tail arg */ + l.lwz r3,TI_TASK(r3) /* Load 'prev' as schedule_tail arg */ l.jr r9 l.nop |