diff options
Diffstat (limited to 'include/linux/mman.h')
-rw-r--r-- | include/linux/mman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mman.h b/include/linux/mman.h index 634c4c51fe3a..c8367041fafd 100644 --- a/include/linux/mman.h +++ b/include/linux/mman.h | |||
@@ -22,7 +22,7 @@ unsigned long vm_memory_committed(void); | |||
22 | 22 | ||
23 | static inline void vm_acct_memory(long pages) | 23 | static inline void vm_acct_memory(long pages) |
24 | { | 24 | { |
25 | __percpu_counter_add(&vm_committed_as, pages, vm_committed_as_batch); | 25 | percpu_counter_add_batch(&vm_committed_as, pages, vm_committed_as_batch); |
26 | } | 26 | } |
27 | 27 | ||
28 | static inline void vm_unacct_memory(long pages) | 28 | static inline void vm_unacct_memory(long pages) |