<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">

Switch it to -&gt;lru


---

 25-akpm/arch/i386/mm/pageattr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN arch/i386/mm/pageattr.c~pageattr-stop-using-page-list arch/i386/mm/pageattr.c
--- 25/arch/i386/mm/pageattr.c~pageattr-stop-using-page-list	2004-04-03 03:00:14.793982528 -0800
+++ 25-akpm/arch/i386/mm/pageattr.c	2004-04-03 03:00:14.796982072 -0800
@@ -132,7 +132,7 @@ __change_page_attr(struct page *page, pg
 	}
 
 	if (cpu_has_pse &amp;&amp; (atomic_read(&amp;kpte_page-&gt;count) == 1)) { 
-		list_add(&amp;kpte_page-&gt;list, &amp;df_list);
+		list_add(&amp;kpte_page-&gt;lru, &amp;df_list);
 		revert_page(kpte_page, address);
 	} 
 	return 0;
@@ -185,7 +185,7 @@ void global_flush_tlb(void)
 	flush_map();
 	n = l.next;
 	while (n != &amp;l) {
-		struct page *pg = list_entry(n, struct page, list);
+		struct page *pg = list_entry(n, struct page, lru);
 		n = n-&gt;next;
 		__free_page(pg);
 	}

_
</pre></body></html>