diff options
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
-rw-r--r-- | arch/powerpc/mm/hugetlbpage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c index a3e628727697..fb05b123218f 100644 --- a/arch/powerpc/mm/hugetlbpage.c +++ b/arch/powerpc/mm/hugetlbpage.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/io.h> | 12 | #include <linux/io.h> |
13 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
14 | #include <linux/hugetlb.h> | 14 | #include <linux/hugetlb.h> |
15 | #include <linux/export.h> | ||
15 | #include <linux/of_fdt.h> | 16 | #include <linux/of_fdt.h> |
16 | #include <linux/memblock.h> | 17 | #include <linux/memblock.h> |
17 | #include <linux/bootmem.h> | 18 | #include <linux/bootmem.h> |
@@ -103,6 +104,7 @@ pte_t *find_linux_pte_or_hugepte(pgd_t *pgdir, unsigned long ea, unsigned *shift | |||
103 | *shift = hugepd_shift(*hpdp); | 104 | *shift = hugepd_shift(*hpdp); |
104 | return hugepte_offset(hpdp, ea, pdshift); | 105 | return hugepte_offset(hpdp, ea, pdshift); |
105 | } | 106 | } |
107 | EXPORT_SYMBOL_GPL(find_linux_pte_or_hugepte); | ||
106 | 108 | ||
107 | pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) | 109 | pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr) |
108 | { | 110 | { |