Merge branch 'for-4.1/drivers' of git://git.kernel.dk/linux-block
[firefly-linux-kernel-4.4.55.git] / include / linux / memblock.h
index e8cc45307f8f0d0f9897f0eb36d96b3c9fa7655c..9497ec7c77ea1b45d0a48e9d390d292dd6db5153 100644 (file)
@@ -365,6 +365,14 @@ static inline unsigned long memblock_region_reserved_end_pfn(const struct memblo
 #define __initdata_memblock
 #endif
 
+#ifdef CONFIG_MEMTEST
+extern void early_memtest(phys_addr_t start, phys_addr_t end);
+#else
+static inline void early_memtest(phys_addr_t start, phys_addr_t end)
+{
+}
+#endif
+
 #else
 static inline phys_addr_t memblock_alloc(phys_addr_t size, phys_addr_t align)
 {