forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/xtensa/kernel/vectors.S
....@@ -43,10 +43,11 @@
4343 */
4444
4545 #include <linux/linkage.h>
46
+#include <linux/pgtable.h>
47
+#include <asm/asmmacro.h>
4648 #include <asm/ptrace.h>
4749 #include <asm/current.h>
4850 #include <asm/asm-offsets.h>
49
-#include <asm/pgtable.h>
5051 #include <asm/processor.h>
5152 #include <asm/page.h>
5253 #include <asm/thread_info.h>
....@@ -477,7 +478,6 @@
477478
478479 ENDPROC(_DoubleExceptionVector)
479480
480
- .text
481481 /*
482482 * Fixup handler for TLB miss in double exception handler for window owerflow.
483483 * We get here with windowbase set to the window that was being spilled and
....@@ -505,6 +505,7 @@
505505 * a3: exctable, original value in excsave1
506506 */
507507
508
+ __XTENSA_HANDLER
508509 .literal_position
509510
510511 ENTRY(window_overflow_restore_a0_fixup)