]> git.karo-electronics.de Git - linux-beck.git/commitdiff
s390: remove pointless load within __switch_to
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 24 Jun 2016 08:02:38 +0000 (10:02 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 28 Jun 2016 07:32:40 +0000 (09:32 +0200)
Remove a leftover from the code that transferred a couple of TIF bits
from the previous task to the next task.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S

index 2d47f9cfcb3613f32cf824748b0b8c9540d29e61..9a9a35657860f87c2c1432a71ac39c7c519180cf 100644 (file)
@@ -175,7 +175,6 @@ ENTRY(__switch_to)
        stmg    %r6,%r15,__SF_GPRS(%r15)        # store gprs of prev task
        lgr     %r1,%r2
        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
        stg     %r15,__THREAD_ksp(%r1)          # store kernel stack of prev
        lgr     %r1,%r3