Commit f340ca0f authored by Joerg Roedel's avatar Joerg Roedel Committed by Avi Kivity

hugetlbfs: export vma_kernel_pagsize to modules

This function is required by KVM.
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 3eea8437
...@@ -234,6 +234,7 @@ unsigned long vma_kernel_pagesize(struct vm_area_struct *vma) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment