]> Pileus Git - ~andy/linux/blobdiff - kernel/resource.c
[NETNS][IPV6] rt6_info - move rt6_info structure inside the namespace
[~andy/linux] / kernel / resource.c
index 2eb553d9b517153d8d938b34d60718b948b6bac0..82aea814d409731e7804d6e553330465d6ab72d9 100644 (file)
@@ -228,7 +228,7 @@ int release_resource(struct resource *old)
 
 EXPORT_SYMBOL(release_resource);
 
-#ifdef CONFIG_MEMORY_HOTPLUG
+#if defined(CONFIG_MEMORY_HOTPLUG) && !defined(CONFIG_ARCH_HAS_WALK_MEMORY)
 /*
  * Finds the lowest memory reosurce exists within [res->start.res->end)
  * the caller must specify res->start, res->end, res->flags.