From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 08 Dec 2023 10:40:48 +0000
Subject: [PATCH] 移去rt

---
 kernel/arch/x86/include/asm/signal.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/arch/x86/include/asm/signal.h b/kernel/arch/x86/include/asm/signal.h
index c00e27a..f3bf2f5 100644
--- a/kernel/arch/x86/include/asm/signal.h
+++ b/kernel/arch/x86/include/asm/signal.h
@@ -32,12 +32,12 @@
  * Because some traps use the IST stack, we must keep preemption
  * disabled while calling do_trap(), but do_trap() may call
  * force_sig_info() which will grab the signal spin_locks for the
- * task, which in PREEMPT_RT_FULL are mutexes.  By defining
+ * task, which in PREEMPT_RT are mutexes.  By defining
  * ARCH_RT_DELAYS_SIGNAL_SEND the force_sig_info() will set
  * TIF_NOTIFY_RESUME and set up the signal to be sent on exit of the
  * trap.
  */
-#if defined(CONFIG_PREEMPT_RT_FULL)
+#if defined(CONFIG_PREEMPT_RT)
 #define ARCH_RT_DELAYS_SIGNAL_SEND
 #endif
 
@@ -48,7 +48,6 @@
 #endif /* __ASSEMBLY__ */
 #include <uapi/asm/signal.h>
 #ifndef __ASSEMBLY__
-extern void do_signal(struct pt_regs *regs);
 
 #define __ARCH_HAS_SA_RESTORER
 

--
Gitblit v1.6.2