]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- patch to make page_alloc.c work with xen
authorJacek Konieczny <jajcus@pld-linux.org>
Sat, 1 Jul 2006 13:26:02 +0000 (13:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-xen-page_alloc.patch -> 1.1

linux-xen-page_alloc.patch [new file with mode: 0644]

diff --git a/linux-xen-page_alloc.patch b/linux-xen-page_alloc.patch
new file mode 100644 (file)
index 0000000..204f50f
--- /dev/null
@@ -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. */
This page took 0.114103 seconds and 4 git commands to generate.