.. | .. |
---|
44 | 44 | s32 batch); |
---|
45 | 45 | s64 __percpu_counter_sum(struct percpu_counter *fbc); |
---|
46 | 46 | int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch); |
---|
| 47 | +void percpu_counter_sync(struct percpu_counter *fbc); |
---|
47 | 48 | |
---|
48 | 49 | static inline int percpu_counter_compare(struct percpu_counter *fbc, s64 rhs) |
---|
49 | 50 | { |
---|
.. | .. |
---|
172 | 173 | return true; |
---|
173 | 174 | } |
---|
174 | 175 | |
---|
| 176 | +static inline void percpu_counter_sync(struct percpu_counter *fbc) |
---|
| 177 | +{ |
---|
| 178 | +} |
---|
175 | 179 | #endif /* CONFIG_SMP */ |
---|
176 | 180 | |
---|
177 | 181 | static inline void percpu_counter_inc(struct percpu_counter *fbc) |
---|