nommu: fix a number of issues with the per-MM VMA patch
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / mm.h
index aeabe953ba4f6d85d4492ab6915d4d6d589cc71c..bff1f0d475c7593240d5a464ae8ecc7c03e07299 100644 (file)
@@ -1079,7 +1079,7 @@ static inline void setup_per_cpu_pageset(void) {}
 #endif
 
 /* nommu.c */
-extern atomic_t mmap_pages_allocated;
+extern atomic_long_t mmap_pages_allocated;
 
 /* prio_tree.c */
 void vma_prio_tree_add(struct vm_area_struct *, struct vm_area_struct *old);