diff options
Diffstat (limited to 'include/linux/memory_hotplug.h')
| -rw-r--r-- | include/linux/memory_hotplug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index 8f1a41951df9..6ffa0ac7f7d6 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h | |||
| @@ -192,6 +192,9 @@ extern void get_page_bootmem(unsigned long ingo, struct page *page, | |||
| 192 | void get_online_mems(void); | 192 | void get_online_mems(void); |
| 193 | void put_online_mems(void); | 193 | void put_online_mems(void); |
| 194 | 194 | ||
| 195 | void mem_hotplug_begin(void); | ||
| 196 | void mem_hotplug_done(void); | ||
| 197 | |||
| 195 | #else /* ! CONFIG_MEMORY_HOTPLUG */ | 198 | #else /* ! CONFIG_MEMORY_HOTPLUG */ |
| 196 | /* | 199 | /* |
| 197 | * Stub functions for when hotplug is off | 200 | * Stub functions for when hotplug is off |
| @@ -231,6 +234,9 @@ static inline int try_online_node(int nid) | |||
| 231 | static inline void get_online_mems(void) {} | 234 | static inline void get_online_mems(void) {} |
| 232 | static inline void put_online_mems(void) {} | 235 | static inline void put_online_mems(void) {} |
| 233 | 236 | ||
| 237 | static inline void mem_hotplug_begin(void) {} | ||
| 238 | static inline void mem_hotplug_done(void) {} | ||
| 239 | |||
| 234 | #endif /* ! CONFIG_MEMORY_HOTPLUG */ | 240 | #endif /* ! CONFIG_MEMORY_HOTPLUG */ |
| 235 | 241 | ||
| 236 | #ifdef CONFIG_MEMORY_HOTREMOVE | 242 | #ifdef CONFIG_MEMORY_HOTREMOVE |
