[memcg:fixes/more-sensible-hugetlb-migration 446/446] include/linux/migrate.h:41:28: error: macro "alloc_huge_page_nodemask" passed 3 arguments, but takes just 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git fixes/more-sensible-hugetlb-migration
head:   0b4446fb1fa6adba910cd073685d1fa254c9cb44
commit: 0b4446fb1fa6adba910cd073685d1fa254c9cb44 [446/446] hugetlb: add support for preferred node to alloc_huge_page_nodemask
config: i386-alldefconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 0b4446fb1fa6adba910cd073685d1fa254c9cb44
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from mm/page_alloc.c:61:0:
   include/linux/migrate.h: In function 'new_page_nodemask':
>> include/linux/migrate.h:41:28: error: macro "alloc_huge_page_nodemask" passed 3 arguments, but takes just 2
        preferred_nid, nodemask);
                               ^
>> include/linux/migrate.h:40:10: error: 'alloc_huge_page_nodemask' undeclared (first use in this function)
      return alloc_huge_page_nodemask(page_hstate(compound_head(page)),
             ^~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/migrate.h:40:10: note: each undeclared identifier is reported only once for each function it appears in

vim +/alloc_huge_page_nodemask +41 include/linux/migrate.h

    34	static inline struct page *new_page_nodemask(struct page *page, int preferred_nid,
    35			nodemask_t *nodemask)
    36	{
    37		gfp_t gfp_mask = GFP_USER | __GFP_MOVABLE;
    38	
    39		if (PageHuge(page))
  > 40			return alloc_huge_page_nodemask(page_hstate(compound_head(page)),
  > 41					preferred_nid, nodemask);
    42	
    43		if (PageHighMem(page)
    44		    || (zone_idx(page_zone(page)) == ZONE_MOVABLE))

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux