hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/xtensa/include/asm/fixmap.h
....@@ -13,9 +13,9 @@
1313 #ifndef _ASM_FIXMAP_H
1414 #define _ASM_FIXMAP_H
1515
16
-#include <asm/pgtable.h>
1716 #ifdef CONFIG_HIGHMEM
1817 #include <linux/threads.h>
18
+#include <linux/pgtable.h>
1919 #include <asm/kmap_types.h>
2020 #endif
2121
....@@ -75,11 +75,5 @@
7575 }
7676
7777 #endif
78
-
79
-#define kmap_get_fixmap_pte(vaddr) \
80
- pte_offset_kernel( \
81
- pmd_offset(pud_offset(pgd_offset_k(vaddr), (vaddr)), (vaddr)), \
82
- (vaddr) \
83
- )
8478
8579 #endif