Author: jajcus Date: Sat Jul 1 13:26:07 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - patch to make page_alloc.c work with xen
---- Files affected: SOURCES: linux-xen-page_alloc.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/linux-xen-page_alloc.patch diff -u /dev/null SOURCES/linux-xen-page_alloc.patch:1.1 --- /dev/null Sat Jul 1 15:26:07 2006 +++ SOURCES/linux-xen-page_alloc.patch Sat Jul 1 15:26:02 2006 @@ -0,0 +1,14 @@ +diff -dur -x '*~' linux-2.6.16.orig/mm/page_alloc.c linux-2.6.16/mm/page_alloc.c +--- linux-2.6.16.orig/mm/page_alloc.c 2006-06-27 08:35:58.000000000 +0200 ++++ linux-2.6.16/mm/page_alloc.c 2006-06-27 08:41:01.000000000 +0200 +@@ -1782,8 +1782,10 @@ + set_page_count(page, 1); + reset_page_mapcount(page); + SetPageReserved(page); ++#ifndef CONFIG_XEN + if (!(page_is_ram(pfn))) + SetPageNosave(page); ++#endif + INIT_LIST_HEAD(&page->lru); + #ifdef WANT_PAGE_VIRTUAL + /* The shift won't overflow because ZONE_NORMAL is below 4G. */ ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
