#ifndef CONFIG_HIGHPTE #define __pte_map(pmd) pmd_page_vaddr(*(pmd))
... #else #define __pte_map(pmd) (pte_t *)kmap_atomic(pmd_page(*(pmd)))
... #endif