From 071106ecf68c401173c58808b1cf5f68cc50d390 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 05 Jan 2024 08:39:27 +0000
Subject: [PATCH] change wifi driver to cypress

---
 kernel/include/linux/thread_info.h |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/kernel/include/linux/thread_info.h b/kernel/include/linux/thread_info.h
index 3cb02ce..f3040b0 100644
--- a/kernel/include/linux/thread_info.h
+++ b/kernel/include/linux/thread_info.h
@@ -110,17 +110,7 @@
 #define test_thread_flag(flag) \
 	test_ti_thread_flag(current_thread_info(), flag)
 
-#ifdef CONFIG_PREEMPT_LAZY
-#define tif_need_resched()	(test_thread_flag(TIF_NEED_RESCHED) || \
-				 test_thread_flag(TIF_NEED_RESCHED_LAZY))
-#define tif_need_resched_now()	(test_thread_flag(TIF_NEED_RESCHED))
-#define tif_need_resched_lazy()	test_thread_flag(TIF_NEED_RESCHED_LAZY))
-
-#else
-#define tif_need_resched()	test_thread_flag(TIF_NEED_RESCHED)
-#define tif_need_resched_now()	test_thread_flag(TIF_NEED_RESCHED)
-#define tif_need_resched_lazy()	0
-#endif
+#define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
 
 #ifndef CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES
 static inline int arch_within_stack_frames(const void * const stack,

--
Gitblit v1.6.2