1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Fixmap support for Hexagon - enough to support highmem features 4 * 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 6 */ 7 8 #ifndef _ASM_FIXMAP_H 9 #define _ASM_FIXMAP_H 10 11 /* 12 * A lot of the fixmap info is already in mem-layout.h 13 */ 14 #include <asm/mem-layout.h> 15 16 #include <asm-generic/fixmap.h> 17 18 #define kmap_get_fixmap_pte(vaddr) \ 19 pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k(vaddr), \ 20 (vaddr)), (vaddr)), (vaddr)) 21 22 #endif