From: Adrian Bunk We don't have to #if guard prototypes. This also fixes a bug observed by Randy Dunlap due to a misspelled option in the #if. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- include/linux/memory_hotplug.h | 3 --- 1 files changed, 3 deletions(-) diff -puN include/linux/memory_hotplug.h~memory_hotplugh-cleanup include/linux/memory_hotplug.h --- 25/include/linux/memory_hotplug.h~memory_hotplugh-cleanup Mon Apr 3 15:38:06 2006 +++ 25-akpm/include/linux/memory_hotplug.h Mon Apr 3 15:38:20 2006 @@ -99,10 +99,7 @@ static inline int __remove_pages(struct return -ENOSYS; } -#if defined(CONFIG_MEMORY_HOTPLUG) || defined(CONFIG_ACPI_HOTPLUG_MEMORY) \ - || defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE) extern int add_memory(u64 start, u64 size); extern int remove_memory(u64 start, u64 size); -#endif #endif /* __LINUX_MEMORY_HOTPLUG_H */ _