From: Dave McCracken It looks like I missed a couple of places. I guess I forgot to doublecheck for new code with pmd_page_kernel in it. Here's a patch with the additional places fixed. Signed-off-by: Dave McCracken Signed-off-by: Andrew Morton --- arch/arm/mm/ioremap.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN arch/arm/mm/ioremap.c~standardize-pxx_page-macros-fix arch/arm/mm/ioremap.c --- a/arch/arm/mm/ioremap.c~standardize-pxx_page-macros-fix +++ a/arch/arm/mm/ioremap.c @@ -177,7 +177,7 @@ static void unmap_area_sections(unsigned * Free the page table, if there was one. */ if ((pmd_val(pmd) & PMD_TYPE_MASK) == PMD_TYPE_TABLE) - pte_free_kernel(pmd_page_kernel(pmd)); + pte_free_kernel(pmd_page_vaddr(pmd)); } addr += PGDIR_SIZE; _