public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] linux/init.h: simplify __mem{init,exit}* dependencies
@ 2007-11-02 15:42 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-11-02 15:42 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi, linux-kernel

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

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
7f058c09288450736c541f6a5d043abd86d0c3bb 
diff --git a/include/linux/init.h b/include/linux/init.h
index 5141381..7dc5085 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-02 15:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 15:42 [2.6 patch] linux/init.h: simplify __mem{init,exit}* dependencies Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox