forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/arm/include/asm/fixmap.h
....@@ -2,19 +2,19 @@
22 #ifndef _ASM_FIXMAP_H
33 #define _ASM_FIXMAP_H
44
5
-#define FIXADDR_START 0xffc00000UL
5
+#define FIXADDR_START 0xffc80000UL
66 #define FIXADDR_END 0xfff00000UL
77 #define FIXADDR_TOP (FIXADDR_END - PAGE_SIZE)
88
9
-#include <asm/kmap_types.h>
10
-#include <asm/pgtable.h>
9
+#include <linux/pgtable.h>
10
+#include <asm/kmap_size.h>
1111
1212 enum fixed_addresses {
1313 FIX_EARLYCON_MEM_BASE,
1414 __end_of_permanent_fixed_addresses,
1515
1616 FIX_KMAP_BEGIN = __end_of_permanent_fixed_addresses,
17
- FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS) - 1,
17
+ FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1,
1818
1919 /* Support writing RO kernel text via kprobes, jump labels, etc. */
2020 FIX_TEXT_POKE0,