]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/nommu.c
hotplug cpu: migrate a task within its cpuset
[linux-2.6-omap-h63xx.git] / mm / nommu.c
index 9eef6a3985554fa9b69c54a0334865e54247e478..42fb84e9e8152819701d3da1cd449c30a0466db0 100644 (file)
@@ -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;