From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751926AbbJJKPG (ORCPT ); Sat, 10 Oct 2015 06:15:06 -0400 Received: from out4133-34.mail.aliyun.com ([42.120.133.34]:9694 "EHLO out4133-34.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751838AbbJJKPB (ORCPT ); Sat, 10 Oct 2015 06:15:01 -0400 X-Greylist: delayed 2812 seconds by postgrey-1.27 at vger.kernel.org; Sat, 10 Oct 2015 06:15:00 EDT X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03282;MF=hillf.zj@alibaba-inc.com;NM=1;PH=DS;RN=3;SR=0; Reply-To: "Hillf Danton" From: "Hillf Danton" To: "'Dan Williams'" Cc: "linux-kernel" , References: <079201d10342$ce509f10$6af1dd30$@alibaba-inc.com> In-Reply-To: <079201d10342$ce509f10$6af1dd30$@alibaba-inc.com> Subject: Re: [PATCH v2 08/20] hugetlb: fix compile error on tile Date: Sat, 10 Oct 2015 18:14:45 +0800 Message-ID: <079501d10344$7d0e6590$772b30b0$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHAmvYDVfHx/dOQWh+9/VROuTI0wp6FT7VA Content-Language: zh-cn Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Inlude asm/pgtable.h to get the definition for pud_t to fix: > > include/linux/hugetlb.h:203:29: error: unknown type name 'pud_t' > But that type is already used in 4.3-rc4 117 struct page *follow_huge_pud(struct mm_struct *mm, unsigned long address, 118 pud_t *pud, int flags); > Signed-off-by: Dan Williams > --- > include/linux/hugetlb.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h > index 5e35379f58a5..ad5539cf52bf 100644 > --- a/include/linux/hugetlb.h > +++ b/include/linux/hugetlb.h > @@ -8,6 +8,7 @@ > #include > #include > #include > +#include > > struct ctl_table; > struct user_struct; > > -- > >