Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1243874

Re: [PATCH v2 08/20] hugetlb: fix compile error on tile

From "Hillf Danton" <hillf.zj@alibaba-inc.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 08/20] hugetlb: fix compile error on tile
Date 2015-10-10 12:20 +0200
Message-ID <qhZpT-6hV-1@gated-at.bofh.it> (permalink)
References <qhZpT-6hV-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 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 <dan.j.williams@intel.com>
> ---
>  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 <linux/cgroup.h>
>  #include <linux/list.h>
>  #include <linux/kref.h>
> +#include <asm/pgtable.h>
> 
>  struct ctl_table;
>  struct user_struct;
> 
> --
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 08/20] hugetlb: fix compile error on tile "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2015-10-10 12:20 +0200

csiph-web