forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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();