diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-06-14 10:31:01 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-06-19 06:23:34 -1000 |
commit | 418a133b714352c35f050d59857f95f769d552d2 (patch) | |
tree | adbb6974cd223eed41492b5c52e97da96f7c6992 /arch/metag | |
parent | 262fd6ff408dd6b89831a8ea14c2abd59452cfdd (diff) | |
download | kernel_goldelico_gta04-418a133b714352c35f050d59857f95f769d552d2.zip kernel_goldelico_gta04-418a133b714352c35f050d59857f95f769d552d2.tar.gz kernel_goldelico_gta04-418a133b714352c35f050d59857f95f769d552d2.tar.bz2 |
metag: fix mm/hugetlb.c build breakage
Commit 106c992a5ebe ("mm/hugetlb: add more arch-defined huge_pte
functions") added an include of <asm-generic/hugetlb.h> to each
architecture's <asm/hugetlb.h> (except s390). Unfortunately metag was
missed which resulted in build errors when hugetlbfs is enabled (see
below).
Add the include for metag too to fix the build errors:
mm/hugetlb.c In function 'make_huge_pte':
mm/hugetlb.c +2250 : error: implicit declaration of function 'huge_pte_mkwrite'
mm/hugetlb.c +2250 : error: implicit declaration of function 'huge_pte_mkdirty'
...
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/metag')
-rw-r--r-- | arch/metag/include/asm/hugetlb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/metag/include/asm/hugetlb.h b/arch/metag/include/asm/hugetlb.h index f545477..471f481 100644 --- a/arch/metag/include/asm/hugetlb.h +++ b/arch/metag/include/asm/hugetlb.h @@ -2,6 +2,7 @@ #define _ASM_METAG_HUGETLB_H #include <asm/page.h> +#include <asm-generic/hugetlb.h> static inline int is_hugepage_only_range(struct mm_struct *mm, |