diff options
| author | Christian Borntraeger <[email protected]> | 2016-10-25 09:03:14 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-11-16 09:15:10 +0000 |
| commit | f2f09a4cee3507dba0e24b87ba2961a5c377d3a7 (patch) | |
| tree | 43a4dc4e093c4cb3efb9140ad6f76822a7055c33 /lib/lockref.c | |
| parent | locking/core, s390: Make cpu_relax() a barrier again (diff) | |
| download | kernel-f2f09a4cee3507dba0e24b87ba2961a5c377d3a7.tar.gz kernel-f2f09a4cee3507dba0e24b87ba2961a5c377d3a7.zip | |
locking/core: Remove cpu_relax_lowlatency() users
With the s390 special case of a yielding cpu_relax() implementation gone,
we can now remove all users of cpu_relax_lowlatency() and replace them
with cpu_relax().
Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Noam Camus <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Russell King <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/lockref.c')
| -rw-r--r-- | lib/lockref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lockref.c b/lib/lockref.c index 5a92189ad711..c4bfcb8836cd 100644 --- a/lib/lockref.c +++ b/lib/lockref.c @@ -20,7 +20,7 @@ if (likely(old.lock_count == prev.lock_count)) { \ SUCCESS; \ } \ - cpu_relax_lowlatency(); \ + cpu_relax(); \ } \ } while (0) |
