diff options
Diffstat (limited to 'include/linux/memory_hotplug.h')
-rw-r--r-- | include/linux/memory_hotplug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index 8f60e899b33c..2ea574ff9714 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h | |||
@@ -11,6 +11,7 @@ struct zone; | |||
11 | struct pglist_data; | 11 | struct pglist_data; |
12 | struct mem_section; | 12 | struct mem_section; |
13 | struct memory_block; | 13 | struct memory_block; |
14 | struct resource; | ||
14 | 15 | ||
15 | #ifdef CONFIG_MEMORY_HOTPLUG | 16 | #ifdef CONFIG_MEMORY_HOTPLUG |
16 | 17 | ||
@@ -266,6 +267,7 @@ static inline void remove_memory(int nid, u64 start, u64 size) {} | |||
266 | extern int walk_memory_range(unsigned long start_pfn, unsigned long end_pfn, | 267 | extern int walk_memory_range(unsigned long start_pfn, unsigned long end_pfn, |
267 | void *arg, int (*func)(struct memory_block *, void *)); | 268 | void *arg, int (*func)(struct memory_block *, void *)); |
268 | extern int add_memory(int nid, u64 start, u64 size); | 269 | extern int add_memory(int nid, u64 start, u64 size); |
270 | extern int add_memory_resource(int nid, struct resource *resource); | ||
269 | extern int zone_for_memory(int nid, u64 start, u64 size, int zone_default, | 271 | extern int zone_for_memory(int nid, u64 start, u64 size, int zone_default, |
270 | bool for_device); | 272 | bool for_device); |
271 | extern int arch_add_memory(int nid, u64 start, u64 size, bool for_device); | 273 | extern int arch_add_memory(int nid, u64 start, u64 size, bool for_device); |