hugetlbfs: export vma_kernel_pagsize to modules
This function is required by KVM. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
3eea8437f6
commit
f340ca0f06
|
@ -234,6 +234,7 @@ unsigned long vma_kernel_pagesize(struct vm_area_struct *vma)
|
||||||
|
|
||||||
return 1UL << (hstate->order + PAGE_SHIFT);
|
return 1UL << (hstate->order + PAGE_SHIFT);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(vma_kernel_pagesize);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return the page size being used by the MMU to back a VMA. In the majority
|
* Return the page size being used by the MMU to back a VMA. In the majority
|
||||||
|
|
Loading…
Reference in New Issue