浏览代码

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 10 年之前
父节点
当前提交
1393ba5c9b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/lib/lockdep/common.c

+ 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)