memblock: Option for the architecture to put memblock into the .init section
[deliverable/linux.git] / include / linux / memblock.h
index c24b278490965c214606e5a01e8fe5ae09e0efab..3978e6a8e824f3f27ba57fde690ec747aa266485 100644 (file)
@@ -149,6 +149,14 @@ static inline unsigned long memblock_region_pages(const struct memblock_region *
             region++)
 
 
+#ifdef ARCH_DISCARD_MEMBLOCK
+#define __init_memblock __init
+#define __initdata_memblock __initdata
+#else
+#define __init_memblock
+#define __initdata_memblock
+#endif
+
 #endif /* CONFIG_HAVE_MEMBLOCK */
 
 #endif /* __KERNEL__ */
This page took 0.043682 seconds and 5 git commands to generate.