diff mbox

[1/7] hugetlb: export vma_kernel_pagesize to modules

Message ID 1238164319-16092-2-git-send-email-joerg.roedel@amd.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joerg Roedel March 27, 2009, 2:31 p.m. UTC
This function is required in the KVM module to determine the size of the
backing page size.

Cc: William Irwin <wli@holomorphy.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
 mm/hugetlb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox


diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 107da3d..29f4fbf 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -234,6 +234,7 @@  unsigned long vma_kernel_pagesize(struct vm_area_struct *vma)
 	return 1UL << (hstate->order + PAGE_SHIFT);
  * Return the page size being used by the MMU to back a VMA. In the majority