Merge git://git.infradead.org/~dwmw2/rbtree-2.6
[linux-2.6.git] / arch / um / kernel / physmem.c
index 73c741d..166cb09 100644 (file)
@@ -407,6 +407,8 @@ unsigned long find_iomem(char *driver, unsigned long *len_out)
                        *len_out = region->size;
                        return(region->virt);
                }
+
+               region = region->next;
        }
 
        return(0);