* [tip:numa/core 0/4] mm/huge_memory.c:801:41: error: '__GFP_NO_KSWAPD' undeclared
@ 2012-10-20 2:30 Yuanhan Liu
0 siblings, 0 replies; only message in thread
From: Yuanhan Liu @ 2012-10-20 2:30 UTC (permalink / raw)
To: kernel-janitors
Hi Peter,
FYI, kernel build failed on
tree: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git numa/core
head: aacc9ac4dc832613f12e4022f4a51f5d0d5136a7
commit: 929813de50438aea37e4f42506495301628271f9 [0/4] Merge branch 'linus' into numa/core
config: x86_64-allyesconfig # make ARCH=x86_64 allyesconfig
All error/warnings:
mm/huge_memory.c: In function 'do_huge_pmd_prot_none':
mm/huge_memory.c:801:41: error: '__GFP_NO_KSWAPD' undeclared (first use in this function)
mm/huge_memory.c:801:41: note: each undeclared identifier is reported only once for each function it appears in
mm/huge_memory.c: In function '__split_huge_page_map':
mm/huge_memory.c:1509:2: error: implicit declaration of function 'get_pmd_huge_pte' [-Werror=implicit-function-declaration]
mm/huge_memory.c:1509:10: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
vim +801 mm/huge_memory.c
713f9376 Peter Zijlstra 2012-10-12 785 WARN_ON((((unsigned long)page->mapping & PAGE_MAPPING_KSM)));
713f9376 Peter Zijlstra 2012-10-12 786 BUG_ON(PageSwapCache(page));
39d6cb39 Peter Zijlstra 2012-07-17 787
713f9376 Peter Zijlstra 2012-10-12 788 spin_unlock(&mm->page_table_lock);
39d6cb39 Peter Zijlstra 2012-07-17 789
713f9376 Peter Zijlstra 2012-10-12 790 lock_page(page);
713f9376 Peter Zijlstra 2012-10-12 791 spin_lock(&mm->page_table_lock);
713f9376 Peter Zijlstra 2012-10-12 792 if (unlikely(!pmd_same(*pmd, entry))) {
713f9376 Peter Zijlstra 2012-10-12 793 spin_unlock(&mm->page_table_lock);
713f9376 Peter Zijlstra 2012-10-12 794 unlock_page(page);
713f9376 Peter Zijlstra 2012-10-12 795 put_page(page);
713f9376 Peter Zijlstra 2012-10-12 796 return;
713f9376 Peter Zijlstra 2012-10-12 797 }
713f9376 Peter Zijlstra 2012-10-12 798 spin_unlock(&mm->page_table_lock);
713f9376 Peter Zijlstra 2012-10-12 799
713f9376 Peter Zijlstra 2012-10-12 800 new_page = alloc_pages_node(node,
713f9376 Peter Zijlstra 2012-10-12 @801 (GFP_TRANSHUGE | GFP_THISNODE) & ~(__GFP_NO_KSWAPD | __GFP_WAIT),
713f9376 Peter Zijlstra 2012-10-12 802 HPAGE_PMD_ORDER);
713f9376 Peter Zijlstra 2012-10-12 803
713f9376 Peter Zijlstra 2012-10-12 804 WARN_ON(PageLRU(new_page));
713f9376 Peter Zijlstra 2012-10-12 805
713f9376 Peter Zijlstra 2012-10-12 806 if (!new_page)
713f9376 Peter Zijlstra 2012-10-12 807 goto alloc_fail;
713f9376 Peter Zijlstra 2012-10-12 808
713f9376 Peter Zijlstra 2012-10-12 809 lru = PageLRU(page);
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-20 2:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-20 2:30 [tip:numa/core 0/4] mm/huge_memory.c:801:41: error: '__GFP_NO_KSWAPD' undeclared Yuanhan Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.