X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=mm%2Fnommu.c;h=8ed0cb43118a1fc0586b165b49e6ad8e7c8a8efb;hb=5b31954e4b364f811450311e3b31d3512e575f63;hp=9eef6a3985554fa9b69c54a0334865e54247e478;hpb=a5b4860b973bb7a306562d8715ba8538a584537d;p=linux-2.6-omap-h63xx.git diff --git a/mm/nommu.c b/mm/nommu.c index 9eef6a39855..8ed0cb43118 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -1270,7 +1270,7 @@ EXPORT_SYMBOL(get_unmapped_area); * Note this is a helper function intended to be used by LSMs which * wish to use this logic. */ -int __vm_enough_memory(long pages, int cap_sys_admin) +int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) { unsigned long free, allowed;