hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
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 */