forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/x86/include/asm/signal.h
....@@ -32,12 +32,12 @@
3232 * Because some traps use the IST stack, we must keep preemption
3333 * disabled while calling do_trap(), but do_trap() may call
3434 * force_sig_info() which will grab the signal spin_locks for the
35
- * task, which in PREEMPT_RT_FULL are mutexes. By defining
35
+ * task, which in PREEMPT_RT are mutexes. By defining
3636 * ARCH_RT_DELAYS_SIGNAL_SEND the force_sig_info() will set
3737 * TIF_NOTIFY_RESUME and set up the signal to be sent on exit of the
3838 * trap.
3939 */
40
-#if defined(CONFIG_PREEMPT_RT_FULL)
40
+#if defined(CONFIG_PREEMPT_RT)
4141 #define ARCH_RT_DELAYS_SIGNAL_SEND
4242 #endif
4343
....@@ -48,7 +48,6 @@
4848 #endif /* __ASSEMBLY__ */
4949 #include <uapi/asm/signal.h>
5050 #ifndef __ASSEMBLY__
51
-extern void do_signal(struct pt_regs *regs);
5251
5352 #define __ARCH_HAS_SA_RESTORER
5453