hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/include/linux/percpu_counter.h
....@@ -44,6 +44,7 @@
4444 s32 batch);
4545 s64 __percpu_counter_sum(struct percpu_counter *fbc);
4646 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch);
47
+void percpu_counter_sync(struct percpu_counter *fbc);
4748
4849 static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs)
4950 {
....@@ -172,6 +173,9 @@
172173 return true;
173174 }
174175
176
+static inline void percpu_counter_sync(struct percpu_counter *fbc)
177
+{
178
+}
175179 #endif /* CONFIG_SMP */
176180
177181 static inline void percpu_counter_inc(struct percpu_counter *fbc)