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

From: Hillf Danton
Date: Sat Oct 10 2015 - 06:15:09 EST


> 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@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/