1
0
Fork 0
android_kernel_rockchip_tart/scripts/atomic/kerneldoc/xchg
2025-06-27 00:32:42 -05:00

13 lines
284 B
Text

cat <<EOF
/**
* ${class}${atomicname}() - atomic exchange with ${desc_order} ordering
* @v: pointer to ${atomic}_t
* @new: ${int} value to assign
*
* Atomically updates @v to @new with ${desc_order} ordering.
*
* ${desc_noinstr}
*
* Return: The original value of @v.
*/
EOF