|
@@ -259,6 +259,7 @@ static inline void remove_memory(int nid, u64 start, u64 size) {}
|
|
extern int walk_memory_range(unsigned long start_pfn, unsigned long end_pfn,
|
|
extern int walk_memory_range(unsigned long start_pfn, unsigned long end_pfn,
|
|
void *arg, int (*func)(struct memory_block *, void *));
|
|
void *arg, int (*func)(struct memory_block *, void *));
|
|
extern int add_memory(int nid, u64 start, u64 size);
|
|
extern int add_memory(int nid, u64 start, u64 size);
|
|
|
|
+extern int zone_for_memory(int nid, u64 start, u64 size, int zone_default);
|
|
extern int arch_add_memory(int nid, u64 start, u64 size);
|
|
extern int arch_add_memory(int nid, u64 start, u64 size);
|
|
extern int offline_pages(unsigned long start_pfn, unsigned long nr_pages);
|
|
extern int offline_pages(unsigned long start_pfn, unsigned long nr_pages);
|
|
extern bool is_memblock_offlined(struct memory_block *mem);
|
|
extern bool is_memblock_offlined(struct memory_block *mem);
|