From akpm@osdl.org Tue Nov 15 21:19:06 2005 Date: Tue, 15 Nov 2005 21:18:07 -0800 From: akpm@osdl.org To: akpm@osdl.org, agl@us.ibm.com, ak@muc.de, clameter@sgi.com, wli@holomorphy.com, mm-commits@vger.kernel.org Subject: + add-numa-policy-support-for-huge-pages-fix.patch added to -mm tree The patch titled add-numa-policy-support-for-huge-pages-fix has been added to the -mm tree. Its filename is add-numa-policy-support-for-huge-pages-fix.patch From: Andrew Morton mm/hugetlb.c: In function `dequeue_huge_page': mm/hugetlb.c:40: warning: implicit declaration of function `huge_zonelist' mm/hugetlb.c:40: warning: initialization makes pointer from integer without a cast Cc: Christoph Lameter Cc: Andi Kleen Cc: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Index: linux-2.6.14-mm2/include/linux/mempolicy.h =================================================================== --- linux-2.6.14-mm2.orig/include/linux/mempolicy.h 2005-11-15 14:27:49.000000000 -0800 +++ linux-2.6.14-mm2/include/linux/mempolicy.h 2005-11-16 10:27:41.000000000 -0800 @@ -227,6 +227,12 @@ static inline int do_migrate_pages(struc return 0; } +static inline struct zonelist *huge_zonelist(struct vm_area_struct *vma, + unsigned long addr) +{ + return NULL; +} + #endif /* CONFIG_NUMA */ #endif /* __KERNEL__ */