]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/exit.c
[PATCH] sched: clean up fallout of recent changes
[linux-2.6-omap-h63xx.git] / kernel / exit.c
index 7f7ef2258553a76cb3ce9afdf777c195a648030a..c595db14cf254b59e3403a6070099e7a513cf6b3 100644 (file)
@@ -933,10 +933,9 @@ fastcall NORET_TYPE void do_exit(long code)
        if (unlikely(current->pi_state_cache))
                kfree(current->pi_state_cache);
        /*
-        * If DEBUG_MUTEXES is on, make sure we are holding no locks:
+        * Make sure we are holding no locks:
         */
-       mutex_debug_check_no_locks_held(tsk);
-       rt_mutex_debug_check_no_locks_held(tsk);
+       debug_check_no_locks_held(tsk);
 
        if (tsk->io_context)
                exit_io_context();