X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fnommu.c;h=42fb84e9e8152819701d3da1cd449c30a0466db0;hb=8707d8b8c0cbdf4441507f8dded194167da896c7;hp=9eef6a3985554fa9b69c54a0334865e54247e478;hpb=2e85622042cb5fd56a606e884651ffde52f21028;p=linux-2.6 diff --git a/mm/nommu.c b/mm/nommu.c index 9eef6a3985..42fb84e9e8 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -44,7 +44,6 @@ int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT; int heap_stack_gap = 0; EXPORT_SYMBOL(mem_map); -EXPORT_SYMBOL(__vm_enough_memory); EXPORT_SYMBOL(num_physpages); /* list of shareable VMAs */ @@ -1270,7 +1269,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;