Эх сурвалжийг харах

tools/liblockdep: remove task argument from debug_check_no_locks_held

The tas argument was removed from the kernel code in 1b1d2fb4 ("lockdep:
remove task argument from debug_check_no_locks_held"). Remove it in loblockdep
too.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Sasha Levin 9 жил өмнө
parent
commit
1393ba5c9b

+ 1 - 1
tools/lib/lockdep/common.c

@@ -18,7 +18,7 @@ __attribute__((constructor)) static void liblockdep_init(void)
 
 __attribute__((destructor)) static void liblockdep_exit(void)
 {
-	debug_check_no_locks_held(&current_obj);
+	debug_check_no_locks_held();
 }
 
 struct task_struct *__curr(void)