diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-09-15 12:50:47 +0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-11-28 11:47:49 +0300 |
commit | 57f2ffe14fd125c240babd88b99d8a57d3ed060e (patch) | |
tree | b31e48250675ef28f5fb3b52ad0863c3feafeba3 /arch/s390 | |
parent | 6ebdf1c79d09ad3d65c714a79db0a0c141a013ba (diff) | |
download | linux-57f2ffe14fd125c240babd88b99d8a57d3ed060e.tar.xz |
s390: remove diag 44 calls from cpu_relax()
Simplify cpu_relax() to a simple barrier(). Performance wise this doesn't
seem to make any big difference anymore, since nearly all lock variants
have directed yield semantics in the meantime.
Also this makes s390 behave like all other architectures.
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/processor.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h index d559bdb03d18..bed05ea7ec27 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h @@ -217,8 +217,6 @@ static inline unsigned short stap(void) */ static inline void cpu_relax(void) { - if (MACHINE_HAS_DIAG44) - asm volatile("diag 0,0,68"); barrier(); } |