commit | f340ca0f065ecf3e7549687e763370106dacb2c2 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Jun 19 15:16:22 2009 +0200 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:33:01 2009 +0300 |
tree | 8e847419873436e9b383d334cd15917e03177949 | |
parent | 3eea8437f61ca1f9192d146124425e759c3e5758 [diff] [blame] |
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>
diff --git a/mm/hugetlb.c b/mm/hugetlb.c index cafdcee..b16d636 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c
@@ -234,6 +234,7 @@ 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