]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/rtmutex-debug.c
r8169: more phy init for the 8168
[linux-2.6-omap-h63xx.git] / kernel / rtmutex-debug.c
index 0c1faa950af7a21e3e582f679e788d3d8b91ade7..6b0703db152d2a61411595380ce4b608e98f6890 100644 (file)
@@ -16,7 +16,6 @@
  *
  * See rt.c in preempt-rt for proper credits and further information
  */
-#include <linux/config.h>
 #include <linux/sched.h>
 #include <linux/delay.h>
 #include <linux/module.h>
 
 #include "rtmutex_common.h"
 
-#ifdef CONFIG_DEBUG_RT_MUTEXES
-# include "rtmutex-debug.h"
-#else
-# include "rtmutex.h"
-#endif
-
 # define TRACE_WARN_ON(x)                      WARN_ON(x)
 # define TRACE_BUG_ON(x)                       BUG_ON(x)
 
@@ -89,12 +82,7 @@ do {                                         \
  * into the tracing code when doing error printk or
  * executing a BUG():
  */
-int rt_trace_on = 1;
-
-void deadlock_trace_off(void)
-{
-       rt_trace_on = 0;
-}
+static int rt_trace_on = 1;
 
 static void printk_task(struct task_struct *p)
 {