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