diff options
author | Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru> | 2006-05-01 19:15:53 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-02 01:17:43 (GMT) |
commit | c39e50b4bada27102306d7fa68ea35dc4e61bd68 (patch) | |
tree | fc19963a4cdb94e964f83fb23c24f7d169241a43 /arch/um/kernel | |
parent | f3a19cb45f4730c4ce09ca9bccf197efd010dc3b (diff) | |
download | linux-fsl-qoriq-c39e50b4bada27102306d7fa68ea35dc4e61bd68.tar.xz |
[PATCH] uml: fix iomem list traversal
We need to walk the region list properly.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/physmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c index 0500800..fc0f0b0 100644 --- a/arch/um/kernel/physmem.c +++ b/arch/um/kernel/physmem.c @@ -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); |