1ace9bad4SMark Rutlandcat <<EOF 2765dcd20SMarco Elverstatic __always_inline ${ret} 3ace9bad4SMark Rutland${atomic}_${pfx}${name}${sfx}(${params}) 4ace9bad4SMark Rutland{ 5ace9bad4SMark Rutland ${ret} ret; 6ace9bad4SMark Rutland __atomic_pre_full_fence(); 7ace9bad4SMark Rutland ret = ${atomic}_${pfx}${name}${sfx}_relaxed(${args}); 8ace9bad4SMark Rutland __atomic_post_full_fence(); 9ace9bad4SMark Rutland return ret; 10ace9bad4SMark Rutland} 11ace9bad4SMark RutlandEOF 12