X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmemory_hotplug.h;h=7b54666cea8e9d3ea1b5c66682f2ea7a36e0fc72;hb=f0eef25339f92f7cd4aeea23d9ae97987a5a1e82;hp=218501cfaeb9255ed62ca9fbf2a197cbb6993f53;hpb=55b4d6a52195a8f277ffddf755ddaff359878f41;p=linux-2.6 diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index 218501cfae..7b54666cea 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h @@ -172,5 +172,7 @@ static inline int __remove_pages(struct zone *zone, unsigned long start_pfn, extern int add_memory(int nid, u64 start, u64 size); extern int arch_add_memory(int nid, u64 start, u64 size); extern int remove_memory(u64 start, u64 size); +extern int sparse_add_one_section(struct zone *zone, unsigned long start_pfn, + int nr_pages); #endif /* __LINUX_MEMORY_HOTPLUG_H */