mutex.h.rej 324 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
--- include/linux/mutex.h
+++ include/linux/mutex.h
@@ -174,6 +178,9 @@
  */
 extern int mutex_trylock(struct mutex *lock);
 extern void mutex_unlock(struct mutex *lock);
+
+#endif /* !PREEMPT_RT_FULL */
+
 extern int atomic_dec_and_mutex_lock(atomic_t *cnt, struct mutex *lock);
 
 #ifndef CONFIG_HAVE_ARCH_MUTEX_CPU_RELAX