2014-10-30 05:19:31

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the akpm-current tree

Hi Andrew,

After merging the akpm tree, today's linux-next build (arm multi_v7_defconfig)
produced this warning:

In file included from include/linux/mm.h:52:0,
from mm/gup.c:7:
arch/arm/include/asm/pgtable.h:184:0: warning: "pgd_huge" redefined
#define pgd_huge(pgd) (0)
^
In file included from mm/gup.c:6:0:
include/linux/hugetlb.h:183:0: note: this is the location of the previous definition
#define pgd_huge(x) 0
^

Introduced by commit fee025d5dd4e ("mm: update generic gup
implementation to handle hugepage directory").
--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (819.00 B)
OpenPGP digital signature

2014-10-30 09:01:46

by Aneesh Kumar K.V

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the akpm-current tree

Stephen Rothwell <[email protected]> writes:

> Hi Andrew,
>
> After merging the akpm tree, today's linux-next build (arm multi_v7_defconfig)
> produced this warning:
>
> In file included from include/linux/mm.h:52:0,
> from mm/gup.c:7:
> arch/arm/include/asm/pgtable.h:184:0: warning: "pgd_huge" redefined
> #define pgd_huge(pgd) (0)
> ^
> In file included from mm/gup.c:6:0:
> include/linux/hugetlb.h:183:0: note: this is the location of the previous definition
> #define pgd_huge(x) 0
> ^
>
> Introduced by commit fee025d5dd4e ("mm: update generic gup
> implementation to handle hugepage directory").


Should be fixed by.
http://mid.gmane.org/1414570785-18966-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com
IIUC the changes are going via powerpc tree. So not sure how it gets updated.

-aneesh