OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/vmalloc: add interfaces to free unmapped page table
[android-x86/kernel.git]
/
arch
/
arm64
/
mm
/
mmu.c
diff --git
a/arch/arm64/mm/mmu.c
b/arch/arm64/mm/mmu.c
index
d5cc6d7
..
638f7f2
100644
(file)
--- a/
arch/arm64/mm/mmu.c
+++ b/
arch/arm64/mm/mmu.c
@@
-772,3
+772,13
@@
int pmd_clear_huge(pmd_t *pmd)
pmd_clear(pmd);
return 1;
}
+
+int pud_free_pmd_page(pud_t *pud)
+{
+ return pud_none(*pud);
+}
+
+int pmd_free_pte_page(pmd_t *pmd)
+{
+ return pmd_none(*pmd);
+}