aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2010-10-25 10:10:19 -0400
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-10-25 10:10:16 -0400
commit189b93d00fd6f71b013ad472fd72c0f043b160a9 (patch)
tree3379307a3f932579613f197ef189bbd78ab85bec /arch/s390
parentfdb6d070effba1871f0bb980cf3c3b8738803414 (diff)
[S390] switch_to: get rid of prev == next check
schedule() makes sure that prev != next before calling switch_to(). Therefore remove the redundant check. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/asm/system.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/system.h b/arch/s390/include/asm/system.h
index c35d0a383f00..3c079dd5ee79 100644
--- a/arch/s390/include/asm/system.h
+++ b/arch/s390/include/asm/system.h
@@ -86,8 +86,6 @@ static inline void restore_access_regs(unsigned int *acrs)
86} 86}
87 87
88#define switch_to(prev,next,last) do { \ 88#define switch_to(prev,next,last) do { \
89 if (prev == next) \
90 break; \
91 if (prev->mm) { \ 89 if (prev->mm) { \
92 save_fp_regs(&prev->thread.fp_regs); \ 90 save_fp_regs(&prev->thread.fp_regs); \
93 save_access_regs(&prev->thread.acrs[0]); \ 91 save_access_regs(&prev->thread.acrs[0]); \