Skip to content

Commit f340ca0

Browse files
joergroedelavikivity
authored andcommitted
hugetlbfs: export vma_kernel_pagsize to modules
This function is required by KVM. Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
1 parent 3eea843 commit f340ca0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mm/hugetlb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ unsigned long vma_kernel_pagesize(struct vm_area_struct *vma)
234234

235235
return 1UL << (hstate->order + PAGE_SHIFT);
236236
}
237+
EXPORT_SYMBOL_GPL(vma_kernel_pagesize);
237238

238239
/*
239240
* Return the page size being used by the MMU to back a VMA. In the majority

0 commit comments

Comments
 (0)