aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/s390/char/sclp.c1
-rw-r--r--include/asm-s390/processor.h5
2 files changed, 2 insertions, 4 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();
diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h
index cbbedc63ba25..5dc6b938895f 100644
--- a/include/asm-s390/processor.h
+++ b/include/asm-s390/processor.h
@@ -201,9 +201,8 @@ unsigned long get_wchan(struct task_struct *p);
201static inline void cpu_relax(void) 201static inline void cpu_relax(void)
202{ 202{
203 if (MACHINE_HAS_DIAG44) 203 if (MACHINE_HAS_DIAG44)
204 asm volatile("diag 0,0,68" : : : "memory"); 204 asm volatile("diag 0,0,68");
205 else 205 barrier();
206 barrier();
207} 206}
208 207
209/* 208/*