blob: 5a42f54a3595032881edcc91af78d081ce2e82cf [file] [log] [blame]
Mark Rutlandace9bad2018-09-04 11:48:25 +01001cat <<EOF
Marco Elver765dcd22019-11-26 15:04:05 +01002static __always_inline ${ret}
Mark Rutlandf3e615b2021-07-13 11:52:50 +01003arch_${atomic}_${pfx}andnot${sfx}${order}(${int} i, ${atomic}_t *v)
Mark Rutlandace9bad2018-09-04 11:48:25 +01004{
Mark Rutlandf3e615b2021-07-13 11:52:50 +01005${retstmt}arch_${atomic}_${pfx}and${sfx}${order}(~i, v);
Mark Rutlandace9bad2018-09-04 11:48:25 +01006}
7EOF