Skip to contentSkip to conversation

linux/init.h: simplify __mem{init,exit}* dependencies

PATCH New Adrian Bunk 1 participant 1 message Nov 2, 2007 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/init.h: simplify __mem{init,exit}* dependencies

This patch simplifies the dependencies on __mem{init,exit}* (ACPI_HOTPLUG_MEMORY requires MEMORY_HOTPLUG).

---
7f058c09288450736c541f6a5d043abd86d0c3bb

include/linux/init.h +1 -2
index 5141381..7dc5085 100644
@@ -278,8 +278,7 @@ void __init parse_early_param(void);
 #define __cpuexitdata	__exitdata
 #endif
 
-#if defined(CONFIG_MEMORY_HOTPLUG) || defined(CONFIG_ACPI_HOTPLUG_MEMORY) \
-	|| defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE)
+#if defined(CONFIG_MEMORY_HOTPLUG)
 #define __meminit
 #define __meminitdata
 #define __memexit