Linux 5.6.13
[linux/fpc-iii.git] / arch / hexagon / include / asm / fixmap.h
blob933dac1675042e3e75b1f13b4b693b3ac2be6564
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Fixmap support for Hexagon - enough to support highmem features
5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
6 */
8 #ifndef _ASM_FIXMAP_H
9 #define _ASM_FIXMAP_H
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))
22 #endif