forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/xtensa/kernel/asm-offsets.c
....@@ -93,6 +93,9 @@
9393 DEFINE(THREAD_RA, offsetof (struct task_struct, thread.ra));
9494 DEFINE(THREAD_SP, offsetof (struct task_struct, thread.sp));
9595 DEFINE(THREAD_CPENABLE, offsetof (struct thread_info, cpenable));
96
+#if XCHAL_HAVE_EXCLUSIVE
97
+ DEFINE(THREAD_ATOMCTL8, offsetof (struct thread_info, atomctl8));
98
+#endif
9699 #if XTENSA_HAVE_COPROCESSORS
97100 DEFINE(THREAD_XTREGS_CP0, offsetof(struct thread_info, xtregs_cp.cp0));
98101 DEFINE(THREAD_XTREGS_CP1, offsetof(struct thread_info, xtregs_cp.cp1));
....@@ -137,8 +140,6 @@
137140 DEFINE(EXC_TABLE_DOUBLE_SAVE, offsetof(struct exc_table, double_save));
138141 DEFINE(EXC_TABLE_FIXUP, offsetof(struct exc_table, fixup));
139142 DEFINE(EXC_TABLE_PARAM, offsetof(struct exc_table, fixup_param));
140
- DEFINE(EXC_TABLE_SYSCALL_SAVE,
141
- offsetof(struct exc_table, syscall_save));
142143 DEFINE(EXC_TABLE_FAST_USER,
143144 offsetof(struct exc_table, fast_user_handler));
144145 DEFINE(EXC_TABLE_FAST_KERNEL,