hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/include/linux/rwsem.h
....@@ -16,11 +16,6 @@
1616 #include <linux/spinlock.h>
1717 #include <linux/atomic.h>
1818 #include <linux/err.h>
19
-
20
-#ifdef CONFIG_PREEMPT_RT
21
-#include <linux/rwsem-rt.h>
22
-#else /* PREEMPT_RT */
23
-
2419 #ifdef CONFIG_RWSEM_SPIN_ON_OWNER
2520 #include <linux/osq_lock.h>
2621 #endif
....@@ -139,13 +134,6 @@
139134 {
140135 return !list_empty(&sem->wait_list);
141136 }
142
-
143
-#endif /* !PREEMPT_RT */
144
-
145
-/*
146
- * The functions below are the same for all rwsem implementations including
147
- * the RT specific variant.
148
- */
149137
150138 /*
151139 * lock for reading