diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index 2eb553d9b517..82aea814d409 100644 --- a/kernel/resource.c +++ b/kernel/resource.c | |||
@@ -228,7 +228,7 @@ int release_resource(struct resource *old) | |||
228 | 228 | ||
229 | EXPORT_SYMBOL(release_resource); | 229 | EXPORT_SYMBOL(release_resource); |
230 | 230 | ||
231 | #ifdef CONFIG_MEMORY_HOTPLUG | 231 | #if defined(CONFIG_MEMORY_HOTPLUG) && !defined(CONFIG_ARCH_HAS_WALK_MEMORY) |
232 | /* | 232 | /* |
233 | * Finds the lowest memory reosurce exists within [res->start.res->end) | 233 | * Finds the lowest memory reosurce exists within [res->start.res->end) |
234 | * the caller must specify res->start, res->end, res->flags. | 234 | * the caller must specify res->start, res->end, res->flags. |