diff options
| author | Steve French <sfrench@us.ibm.com> | 2010-12-03 03:52:43 +0000 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2010-12-03 03:52:43 +0000 |
| commit | ebb27386ffd2fcd0fad141e0eee97b8070f94ee2 (patch) | |
| tree | 3c71ee87e8771ac0eed912729605dbaf3f39348c /include/linux/memory_hotplug.h | |
| parent | 6d20e8406f0942228a73000663c2b33f488103ea (diff) | |
| parent | 59e57c622c3502346e8f930421ebc482d639520c (diff) | |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
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 4307231bd22f..31c237a00c48 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h @@ -161,6 +161,9 @@ extern void register_page_bootmem_info_node(struct pglist_data *pgdat); extern void put_page_bootmem(struct page *page); #endif +void lock_memory_hotplug(void); +void unlock_memory_hotplug(void); + #else /* ! CONFIG_MEMORY_HOTPLUG */ /* * Stub functions for when hotplug is off @@ -192,6 +195,9 @@ static inline void register_page_bootmem_info_node(struct pglist_data *pgdat) { } +static inline void lock_memory_hotplug(void) {} +static inline void unlock_memory_hotplug(void) {} + #endif /* ! CONFIG_MEMORY_HOTPLUG */ #ifdef CONFIG_MEMORY_HOTREMOVE |
