mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
1125b4640f
commit
c48e09131b
2 changed files with 2 additions and 4 deletions
|
|
@ -433,7 +433,6 @@ sclp_sync_wait(void)
|
|||
get_clock() > timeout &&
|
||||
del_timer(&sclp_request_timer))
|
||||
sclp_request_timer.function(sclp_request_timer.data);
|
||||
barrier();
|
||||
cpu_relax();
|
||||
}
|
||||
local_irq_disable();
|
||||
|
|
|
|||
Loading…
Reference in a new issue