summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/fetch_add_unless
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2020-01-24 09:33:52 +0100
committerIngo Molnar <mingo@kernel.org>2020-01-24 09:35:51 +0100
commit7add7875a8eb4ffe5eddaf8a11e409c9e1b6e3f3 (patch)
tree62f720dcb9326470c76a38afb1c61a2b8cecce45 /scripts/atomic/fallbacks/fetch_add_unless
parent837171fe77d700222bb75ef5fe26f4785fcd9e99 (diff)
parente33f9a169747880a008dd5e7b934fc592e91cd63 (diff)
downloadlinux-7add7875a8eb4ffe5eddaf8a11e409c9e1b6e3f3.tar.gz
linux-7add7875a8eb4ffe5eddaf8a11e409c9e1b6e3f3.tar.bz2
linux-7add7875a8eb4ffe5eddaf8a11e409c9e1b6e3f3.zip
Merge branch 'kcsan.2020.01.07a' into locking/kcsan
Pull KCSAN updates from Paul E. McKenney: - UBSAN fixes - inlining updates - documentation updates Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/atomic/fallbacks/fetch_add_unless')
-rwxr-xr-xscripts/atomic/fallbacks/fetch_add_unless2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/atomic/fallbacks/fetch_add_unless b/scripts/atomic/fallbacks/fetch_add_unless
index d2c091db7eae..fffbc0d16fdf 100755
--- a/scripts/atomic/fallbacks/fetch_add_unless
+++ b/scripts/atomic/fallbacks/fetch_add_unless
@@ -8,7 +8,7 @@ cat << EOF
* Atomically adds @a to @v, so long as @v was not already @u.
* Returns original value of @v
*/
-static inline ${int}
+static __always_inline ${int}
${atomic}_fetch_add_unless(${atomic}_t *v, ${int} a, ${int} u)
{
${int} c = ${atomic}_read(v);