From: Heiko Carstens Date: Fri, 24 Jun 2016 08:02:38 +0000 (+0200) Subject: s390: remove pointless load within __switch_to X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=43799597dc78358d31fdad86a6480054c519bacc;p=linux-beck.git 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: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 2d47f9cfcb36..9a9a35657860 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S @@ -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