Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tile: use pmd_pfn() instead of casting via pte_t

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>

+1 -2
+1 -2
arch/tile/mm/pgtable.c
··· 127 127 } 128 128 129 129 /* Shatter the huge page into the preallocated L2 page table. */ 130 - pmd_populate_kernel(&init_mm, pmd, 131 - get_prealloc_pte(pte_pfn(*(pte_t *)pmd))); 130 + pmd_populate_kernel(&init_mm, pmd, get_prealloc_pte(pmd_pfn(*pmd))); 132 131 133 132 #ifdef __PAGETABLE_PMD_FOLDED 134 133 /* Walk every pgd on the system and update the pmd there. */