summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/read_acquire
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/fallbacks/read_acquire')
-rwxr-xr-xscripts/atomic/fallbacks/read_acquire2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/atomic/fallbacks/read_acquire b/scripts/atomic/fallbacks/read_acquire
index 75863b5203f7..12fa83cb3a6d 100755
--- a/scripts/atomic/fallbacks/read_acquire
+++ b/scripts/atomic/fallbacks/read_acquire
@@ -1,5 +1,5 @@
cat <<EOF
-static inline ${ret}
+static __always_inline ${ret}
${atomic}_read_acquire(const ${atomic}_t *v)
{
return smp_load_acquire(&(v)->counter);