Messages in this thread Patch in this message | | | Date | Wed, 9 Sep 2009 10:31:02 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: mmotm 2009-09-03-16-35 uploaded |
| |
On Wed, 9 Sep 2009 10:14:46 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> On Wed, 9 Sep 2009 09:49:15 +0900 (JST) > KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote: > > > Hi > > > > This release doesn't boot on my ia64 test box. > > After following two patches reverted, booting was successful. > > > > page-allocator-change-migratetype-for-all-pageblocks-within-a-high-order-page-during-__rmqueue_fallback.patch > > Kamezawa-san's kcore patch series > > > > > > Mel, Kamezawa-san, Can you please gime me any advise? > > > > > > Kosaki-san, could you give me your .config ? > Hmm, how about this ?
== This is a fix for walk-system-ram-range.patch
resource->name can be NULL. (It seems bad but by reading other codes, this is possible.)
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --- kernel/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: mmotm-2.6.31-Sep3/kernel/resource.c =================================================================== --- mmotm-2.6.31-Sep3.orig/kernel/resource.c +++ mmotm-2.6.31-Sep3/kernel/resource.c @@ -255,7 +255,7 @@ static int find_next_system_ram(struct r /* system ram is just marked as IORESOURCE_MEM */ if (p->flags != res->flags) continue; - if (name && strcmp(p->name, name)) + if (name && (!p->name || strcmp(name, p->name))) continue; if (p->start > end) { p = NULL;
| |