hc
2023-11-22 983d7f83616922a6439b4352d1b3af488ee27f95
kernel/include/linux/spinlock_api_smp.h
....@@ -187,6 +187,8 @@
187187 return 0;
188188 }
189189
190
-#include <linux/rwlock_api_smp.h>
190
+#ifndef CONFIG_PREEMPT_RT_FULL
191
+# include <linux/rwlock_api_smp.h>
192
+#endif
191193
192194 #endif /* __LINUX_SPINLOCK_API_SMP_H */