linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [PATCH 1/6] UML - Fix iomem list traversal
@ 2006-04-28 16:01 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2006-04-28 16:01 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, user-mode-linux-devel, Victor V. Vengerov

From: "Victor V. Vengerov" <Victor.Vengerov@oktetlabs.ru>

We need to walk the region list properly.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: linux-2.6.16/arch/um/kernel/physmem.c
===================================================================
--- linux-2.6.16.orig/arch/um/kernel/physmem.c	2006-04-03 08:48:13.000000000 -0400
+++ linux-2.6.16/arch/um/kernel/physmem.c	2006-04-05 11:16:38.000000000 -0400
@@ -407,6 +407,8 @@ unsigned long find_iomem(char *driver, u
 			*len_out = region->size;
 			return(region->virt);
 		}
+
+		region = region->next;
 	}
 
 	return(0);



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-28 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-28 16:01 [uml-devel] [PATCH 1/6] UML - Fix iomem list traversal Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox