aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-02-05 15:17:20 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 15:17:20 -0500
commitc48e09131bd7c632c80a3245688d2d29dbc4f6b5 (patch)
tree75ba8b96271121ae64724e967024bcc02b01e0ee /drivers/s390/char
parent1125b4640fea29aafe9bf24672e2da9672f6592e (diff)
[S390] Small barrier() and cpu_relax() cleanup.
cpu_relax() has barrier() semantics hence there is no need to use both of them in conjunction in sclp_sync_wait(). Also change cpu_relax() so it's more obvious that it has barrier semantics. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
-rw-r--r--drivers/s390/char/sclp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c
index 027cdc18df31..c1dd19bb7bf8 100644
--- a/drivers/s390/char/sclp.c
+++ b/drivers/s390/char/sclp.c
@@ -433,7 +433,6 @@ sclp_sync_wait(void)
433 get_clock() > timeout && 433 get_clock() > timeout &&
434 del_timer(&sclp_request_timer)) 434 del_timer(&sclp_request_timer))
435 sclp_request_timer.function(sclp_request_timer.data); 435 sclp_request_timer.function(sclp_request_timer.data);
436 barrier();
437 cpu_relax(); 436 cpu_relax();
438 } 437 }
439 local_irq_disable(); 438 local_irq_disable();