]> err.no Git - linux-2.6/blobdiff - include/linux/memory_hotplug.h
[PATCH] add slab_is_available() routine for boot code
[linux-2.6] / include / linux / memory_hotplug.h
index 4ca3e6ad03ec4c2b7838fec75386262dac583199..911206386171ccedc51397d9e36a7c424de9642c 100644 (file)
@@ -99,10 +99,7 @@ static inline int __remove_pages(struct zone *zone, unsigned long start_pfn,
        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 */