X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fnommu.c;h=8ed0cb43118a1fc0586b165b49e6ad8e7c8a8efb;hb=55144768e100b68447f44c5e5c9deb155ad661bd;hp=9eef6a3985554fa9b69c54a0334865e54247e478;hpb=2e85622042cb5fd56a606e884651ffde52f21028;p=linux-2.6 diff --git a/mm/nommu.c b/mm/nommu.c index 9eef6a3985..8ed0cb4311 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;