summaryrefslogtreecommitdiff
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 341a88dccaa7..803ba7561076 100755
--- a/scripts/atomic/fallbacks/read_acquire
+++ b/scripts/atomic/fallbacks/read_acquire
@@ -1,6 +1,6 @@
cat <<EOF
static __always_inline ${ret}
-${arch}${atomic}_read_acquire(const ${atomic}_t *v)
+arch_${atomic}_read_acquire(const ${atomic}_t *v)
{
return smp_load_acquire(&(v)->counter);
}