]> Git Repo - linux.git/blob - scripts/atomic/fallbacks/set_release
HID: hid-sensor-custom: Fix big on-stack allocation in hid_sensor_custom_get_known()
[linux.git] / scripts / atomic / fallbacks / set_release
1 cat <<EOF
2 static __always_inline void
3 arch_${atomic}_set_release(${atomic}_t *v, ${int} i)
4 {
5         if (__native_word(${atomic}_t)) {
6                 smp_store_release(&(v)->counter, i);
7         } else {
8                 __atomic_release_fence();
9                 arch_${atomic}_set(v, i);
10         }
11 }
12 EOF
This page took 0.034193 seconds and 4 git commands to generate.