diff --git a/mm/mmap.c b/mm/mmap.c index 208e70f1006d..cb6456d35860 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -112,7 +112,7 @@ struct percpu_counter vm_committed_as ____cacheline_aligned_in_smp; */ int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) { - unsigned long free, allowed; + long free, allowed; vm_acct_memory(pages);