Hugepage COW

Adam Litke agl at us.ibm.com
Tue Mar 29 03:22:31 EST 2005


Just a trivial compile fix.  Some architectures (i386) need
asm/tlbflush.h to be included by the arch independant hugetlb header. 
Compile tested on ppc64 and i386.

diff -purN 2.6.11-consolidate/include/linux/hugetlb.h 2.6.11-consolidate+compile/include/linux/hugetlb.h
--- 2.6.11-consolidate/include/linux/hugetlb.h	2005-03-28 09:07:23.000000000 -0800
+++ 2.6.11-consolidate+compile/include/linux/hugetlb.h	2005-03-28 09:10:07.000000000 -0800
@@ -4,6 +4,7 @@
 #ifdef CONFIG_HUGETLB_PAGE
 
 #include <linux/mempolicy.h>
+#include <asm/tlbflush.h>
 
 struct ctl_table;
 

-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center




More information about the Linuxppc64-dev mailing list