projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eea843
)
hugetlbfs: export vma_kernel_pagsize to modules
author
Joerg Roedel
<joerg.roedel@amd.com>
Fri, 19 Jun 2009 13:16:22 +0000
(15:16 +0200)
committer
Avi Kivity
<avi@redhat.com>
Thu, 10 Sep 2009 05:33:01 +0000
(08:33 +0300)
This function is required by KVM.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
mm/hugetlb.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/hugetlb.c
b/mm/hugetlb.c
index cafdcee154e8dba53fbc15806b623a2fb131376e..b16d636347771016cf8433ccc4a3807bec8ede4e 100644
(file)
--- 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