kernel/resource: move and rename IORESOURCE_MEM_DRIVER_MANAGED
[linux-2.6-microblaze.git] / kernel / kexec_file.c
index 84f7316..e21f6b9 100644 (file)
@@ -521,7 +521,7 @@ static int locate_mem_hole_callback(struct resource *res, void *arg)
        /* Returning 0 will take to next memory range */
 
        /* Don't use memory that will be detected and handled by a driver. */
-       if (res->flags & IORESOURCE_MEM_DRIVER_MANAGED)
+       if (res->flags & IORESOURCE_SYSRAM_DRIVER_MANAGED)
                return 0;
 
        if (sz < kbuf->memsz)