diff options
author | Qian Cai <cai@lca.pw> | 2019-04-29 19:37:02 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-30 13:02:20 +0200 |
commit | 5fbbeedb9a8f039e0a531435c7894905c1d51e77 (patch) | |
tree | e3b16d39e063d5a7f1614239208ca01307768ff8 /arch/arm64/include/asm/pgtable.h | |
parent | arm64: Fix compiler warning from pte_unmap() with -Wunused-but-set-variable (diff) | |
download | linux-5fbbeedb9a8f039e0a531435c7894905c1d51e77.tar.xz linux-5fbbeedb9a8f039e0a531435c7894905c1d51e77.zip |
arm64: mm: Remove pte_unmap_nested()
As of commit ece0e2b6406a ("mm: remove pte_*map_nested()"),
pte_unmap_nested() is no longer used and can be removed from the arm64
code.
Signed-off-by: Qian Cai <cai@lca.pw>
[will: also remove pte_offset_map_nested()]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/pgtable.h')
-rw-r--r-- | arch/arm64/include/asm/pgtable.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h index 74ebe9693714..2c41b04708fe 100644 --- a/arch/arm64/include/asm/pgtable.h +++ b/arch/arm64/include/asm/pgtable.h @@ -487,8 +487,6 @@ static inline void pte_unmap(pte_t *pte) { } #define pte_offset_kernel(dir,addr) ((pte_t *)__va(pte_offset_phys((dir), (addr)))) #define pte_offset_map(dir,addr) pte_offset_kernel((dir), (addr)) -#define pte_offset_map_nested(dir,addr) pte_offset_kernel((dir), (addr)) -#define pte_unmap_nested(pte) do { } while (0) #define pte_set_fixmap(addr) ((pte_t *)set_fixmap_offset(FIX_PTE, addr)) #define pte_set_fixmap_offset(pmd, addr) pte_set_fixmap(pte_offset_phys(pmd, addr)) |