[PATCH] fix paging_init for i386 discontigmem support (-aa kernel)

Martin J. Bligh (fletch@aracnet.com)
Wed, 22 May 2002 22:54:16 -0700


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/