forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/include/vdso/helpers.h
....@@ -10,7 +10,7 @@
1010 {
1111 u32 seq;
1212
13
- while ((seq = READ_ONCE(vd->seq)) & 1)
13
+ while (unlikely((seq = READ_ONCE(vd->seq)) & 1))
1414 cpu_relax();
1515
1616 smp_rmb();