projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4db30e3
)
tile: use pmd_pfn() instead of casting via pte_t
author
Chris Metcalf
<cmetcalf@tilera.com>
Fri, 13 Sep 2013 15:14:25 +0000
(11:14 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Fri, 13 Sep 2013 15:14:25 +0000
(11:14 -0400)
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/mm/pgtable.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/tile/mm/pgtable.c
b/arch/tile/mm/pgtable.c
index 2deaddf3e01f2329c2aded0d083c65e005a115f2..4fd9ec0b58edcb57d0b3346d41eea54c6f66c35f 100644
(file)
--- a/
arch/tile/mm/pgtable.c
+++ b/
arch/tile/mm/pgtable.c
@@
-127,8
+127,7
@@
void shatter_huge_page(unsigned long addr)
}
/* Shatter the huge page into the preallocated L2 page table. */
- pmd_populate_kernel(&init_mm, pmd,
- get_prealloc_pte(pte_pfn(*(pte_t *)pmd)));
+ pmd_populate_kernel(&init_mm, pmd, get_prealloc_pte(pmd_pfn(*pmd)));
#ifdef __PAGETABLE_PMD_FOLDED
/* Walk every pgd on the system and update the pmd there. */