Commit 43799597 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390: remove pointless load within __switch_to

Remove a leftover from the code that transferred a couple of TIF bits
from the previous task to the next task.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 907fa061
...@@ -175,7 +175,6 @@ ENTRY(__switch_to) ...@@ -175,7 +175,6 @@ ENTRY(__switch_to)
stmg %r6,%r15,__SF_GPRS(%r15) # store gprs of prev task stmg %r6,%r15,__SF_GPRS(%r15) # store gprs of prev task
lgr %r1,%r2 lgr %r1,%r2
aghi %r1,__TASK_thread # thread_struct of prev task aghi %r1,__TASK_thread # thread_struct of prev task
lg %r4,__TASK_thread_info(%r2) # get thread_info of prev
lg %r5,__TASK_thread_info(%r3) # get thread_info of next lg %r5,__TASK_thread_info(%r3) # get thread_info of next
stg %r15,__THREAD_ksp(%r1) # store kernel stack of prev stg %r15,__THREAD_ksp(%r1) # store kernel stack of prev
lgr %r1,%r3 lgr %r1,%r3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment