From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 08:20:59 +0000
Subject: [PATCH] kernel_5.10 no rt

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

diff --git a/kernel/include/linux/rwsem.h b/kernel/include/linux/rwsem.h
index 4f71699..e851cd5 100644
--- a/kernel/include/linux/rwsem.h
+++ b/kernel/include/linux/rwsem.h
@@ -16,11 +16,6 @@
 #include <linux/spinlock.h>
 #include <linux/atomic.h>
 #include <linux/err.h>
-
-#ifdef CONFIG_PREEMPT_RT
-#include <linux/rwsem-rt.h>
-#else /* PREEMPT_RT */
-
 #ifdef CONFIG_RWSEM_SPIN_ON_OWNER
 #include <linux/osq_lock.h>
 #endif
@@ -139,13 +134,6 @@
 {
 	return !list_empty(&sem->wait_list);
 }
-
-#endif /* !PREEMPT_RT */
-
-/*
- * The functions below are the same for all rwsem implementations including
- * the RT specific variant.
- */
 
 /*
  * lock for reading

--
Gitblit v1.6.2