diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-06-19 15:16:22 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 08:33:01 +0300 |
commit | f340ca0f065ecf3e7549687e763370106dacb2c2 (patch) | |
tree | 8e847419873436e9b383d334cd15917e03177949 /mm | |
parent | 3eea8437f61ca1f9192d146124425e759c3e5758 (diff) | |
download | linux-f340ca0f065ecf3e7549687e763370106dacb2c2.tar.bz2 |
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/hugetlb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c index cafdcee154e8..b16d63634777 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); } +EXPORT_SYMBOL_GPL(vma_kernel_pagesize); /* * Return the page size being used by the MMU to back a VMA. In the majority |