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

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

 



> 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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



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