summaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/set_release
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/fallbacks/set_release')
-rwxr-xr-xscripts/atomic/fallbacks/set_release4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/atomic/fallbacks/set_release b/scripts/atomic/fallbacks/set_release
index 05cdb7f42477..104693bc3c66 100755
--- a/scripts/atomic/fallbacks/set_release
+++ b/scripts/atomic/fallbacks/set_release
@@ -1,12 +1,12 @@
cat <<EOF
static __always_inline void
-arch_${atomic}_set_release(${atomic}_t *v, ${int} i)
+raw_${atomic}_set_release(${atomic}_t *v, ${int} i)
{
if (__native_word(${atomic}_t)) {
smp_store_release(&(v)->counter, i);
} else {
__atomic_release_fence();
- arch_${atomic}_set(v, i);
+ raw_${atomic}_set(v, i);
}
}
EOF