forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/arch/x86/mm/pgtable_32.c
....@@ -11,13 +11,12 @@
1111 #include <linux/spinlock.h>
1212
1313 #include <asm/cpu_entry_area.h>
14
-#include <asm/pgtable.h>
15
-#include <asm/pgalloc.h>
1614 #include <asm/fixmap.h>
1715 #include <asm/e820/api.h>
1816 #include <asm/tlb.h>
1917 #include <asm/tlbflush.h>
2018 #include <asm/io.h>
19
+#include <linux/vmalloc.h>
2120
2221 unsigned int __VMALLOC_RESERVE = 128 << 20;
2322
....@@ -63,7 +62,7 @@
6362 * It's enough to flush this one mapping.
6463 * (PGE mappings get flushed as well)
6564 */
66
- __flush_tlb_one_kernel(vaddr);
65
+ flush_tlb_one_kernel(vaddr);
6766 }
6867
6968 unsigned long __FIXADDR_TOP = 0xfffff000;