ace9bad4df268 (Mark Rutland 2018-09-04 11:48:25 +0100 1) cat <<EOF
765dcd209947e (Marco Elver 2019-11-26 15:04:05 +0100 2) static __always_inline ${ret}
f3e615b4db1fb (Mark Rutland 2021-07-13 11:52:50 +0100 3) arch_${atomic}_${pfx}${name}${sfx}(${params})
ace9bad4df268 (Mark Rutland 2018-09-04 11:48:25 +0100 4) {
ace9bad4df268 (Mark Rutland 2018-09-04 11:48:25 +0100 5) ${ret} ret;
ace9bad4df268 (Mark Rutland 2018-09-04 11:48:25 +0100 6) __atomic_pre_full_fence();
f3e615b4db1fb (Mark Rutland 2021-07-13 11:52:50 +0100 7) ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
ace9bad4df268 (Mark Rutland 2018-09-04 11:48:25 +0100 8) __atomic_post_full_fence();
ace9bad4df268 (Mark Rutland 2018-09-04 11:48:25 +0100 9) return ret;
ace9bad4df268 (Mark Rutland 2018-09-04 11:48:25 +0100 10) }
ace9bad4df268 (Mark Rutland 2018-09-04 11:48:25 +0100 11) EOF