linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 08/20] hugetlb: fix compile error on tile
       [not found] <079201d10342$ce509f10$6af1dd30$@alibaba-inc.com>
@ 2015-10-10 10:14 ` Hillf Danton
  0 siblings, 0 replies; 2+ messages in thread
From: Hillf Danton @ 2015-10-10 10:14 UTC (permalink / raw)
  To: 'Dan Williams'; +Cc: linux-kernel, linux-mm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v2 08/20] hugetlb: fix compile error on tile
  2015-10-10  0:55 [PATCH v2 00/20] get_user_pages() for dax mappings Dan Williams
@ 2015-10-10  0:56 ` Dan Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2015-10-10  0:56 UTC (permalink / raw)
  To: linux-nvdimm; +Cc: linux-mm, ross.zwisler, linux-kernel, hch

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'

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-10 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <079201d10342$ce509f10$6af1dd30$@alibaba-inc.com>
2015-10-10 10:14 ` [PATCH v2 08/20] hugetlb: fix compile error on tile Hillf Danton
2015-10-10  0:55 [PATCH v2 00/20] get_user_pages() for dax mappings Dan Williams
2015-10-10  0:56 ` [PATCH v2 08/20] hugetlb: fix compile error on tile Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).