xref: /linux/scripts/atomic/fallbacks/acquire (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1cat <<EOF
2static __always_inline ${ret}
3${arch}${atomic}_${pfx}${name}${sfx}_acquire(${params})
4{
5	${ret} ret = ${arch}${atomic}_${pfx}${name}${sfx}_relaxed(${args});
6	__atomic_acquire_fence();
7	return ret;
8}
9EOF
10