summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2015-11-06 23:29:52 +0300
committerSasha Levin <sasha.levin@oracle.com>2015-11-07 00:01:29 +0300
commit1393ba5c9beb2b33e315d9d4348a15ab3d1bf3a6 (patch)
tree40b9b33fe7e5dae1b6cb91661787fb9987bb0fe9
parent6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff)
downloadlinux-1393ba5c9beb2b33e315d9d4348a15ab3d1bf3a6.tar.xz
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>
-rw-r--r--tools/lib/lockdep/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/lockdep/common.c b/tools/lib/lockdep/common.c
index 8ef602f18a32..9be663340f0a 100644
--- a/tools/lib/lockdep/common.c
+++ b/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)