Skip to contentSkip to conversation

hugetlb: fix compile error on tile

PATCH Hillf Danton 1 participant 1 message Oct 10, 2015 1 message not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines

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);

Quoted 12 lines
---
 include/linux/hugetlb.h |    1 +
 1 file changed, 1 insertion(+)
include/linux/hugetlb.h +0 -0
index 5e35379f58a5..ad5539cf52bf 100644

include/linux/hugetlb.h

Quoted 9 lines
include/linux/hugetlb.h +1 -1
@@ -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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>