diff options
| author | Nicholas Piggin <[email protected]> | 2020-07-24 13:14:23 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-07-26 14:01:29 +0000 |
| commit | 49a7d46a06c30c7beabbf9d1a8ea1de0f9e4fdfe (patch) | |
| tree | d5249ad0043cb1dd0f1faa889c850e7b958c7cf2 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/qspinlock: Optimised atomic_try_cmpxchg_lock() that adds the lock hint (diff) | |
| download | kernel-49a7d46a06c30c7beabbf9d1a8ea1de0f9e4fdfe.tar.gz kernel-49a7d46a06c30c7beabbf9d1a8ea1de0f9e4fdfe.zip | |
powerpc: Implement smp_cond_load_relaxed()
This implements smp_cond_load_relaxed() with the slowpath busy loop
using the preferred SMT priority pattern.
Signed-off-by: Nicholas Piggin <[email protected]>
Acked-by: Waiman Long <[email protected]>
[mpe: Make it 64-bit only to fix build errors on 32-bit]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
