tools/liblockdep: remove task argument from debug_check_no_locks_held
authorSasha Levin <sasha.levin@oracle.com>
Fri, 6 Nov 2015 20:29:52 +0000 (15:29 -0500)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 6 Nov 2015 21:01:29 +0000 (16:01 -0500)
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>
tools/lib/lockdep/common.c

index 8ef602f18a32b9a19c7645488bd2bc8c757c30c6..9be663340f0a4c48e9ec51c996b13c3a8b596fdc 100644 (file)
@@ -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)