lkml.org 
[lkml]   [2002]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix paging_init for i386 discontigmem support (-aa kernel)
One small fix to make the latest code work properly in
conjunction with the zone_start_pfn change ... this is
only needed for Andrea's tree at the moment. Without it,
you get no memory on nodes > 0; all I'm doing is taking
out the PAGE_SHIFT.

--- virgin-2.4.19-pre8-aa3/arch/i386/mm/discontig.c Wed May 22 17:19:11 2002
+++ linux-2.4.19-pre8-aa3-paging_init/arch/i386/mm/discontig.c Wed May 22 21:21:28 2002
@@ -259,7 +259,7 @@
#endif
}
}
- free_area_init_node(nid, NODE_DATA(nid), 0, zones_size, start << PAGE_SHIFT, 0);
+ free_area_init_node(nid, NODE_DATA(nid), 0, zones_size, start, 0);
}
return;
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.030 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site