diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2023-07-31 10:42:23 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-10-04 11:38:11 +0200 |
commit | 5e0eb67974e88dbaded765278a3ffe7af33e3b22 (patch) | |
tree | 25a10882e7c17e57798a4187a40f42b9c5ac5cb5 /kernel/futex/requeue.c | |
parent | 8788c6c2feb3600ba1a2f84ac5d258af4a284cea (diff) | |
download | linux-5e0eb67974e88dbaded765278a3ffe7af33e3b22.tar.gz linux-5e0eb67974e88dbaded765278a3ffe7af33e3b22.tar.bz2 linux-5e0eb67974e88dbaded765278a3ffe7af33e3b22.zip |
locking/local, arch: Rewrite local_add_unless() as a static inline function
Rewrite local_add_unless() as a static inline function with boolean
return value, similar to the arch_atomic_add_unless() arch fallbacks.
The function is currently unused.
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230731084458.28096-1-ubizjak@gmail.com
Diffstat (limited to 'kernel/futex/requeue.c')
0 files changed, 0 insertions, 0 deletions