[tip:locking/urgent] tools/liblockdep: remove task argument from debug_check_no_locks_held

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  1393ba5c9beb2b33e315d9d4348a15ab3d1bf3a6
Gitweb:     http://git.kernel.org/tip/1393ba5c9beb2b33e315d9d4348a15ab3d1bf3a6
Author:     Sasha Levin <sasha.levin@xxxxxxxxxx>
AuthorDate: Fri, 6 Nov 2015 15:29:52 -0500
Committer:  Sasha Levin <sasha.levin@xxxxxxxxxx>
CommitDate: Fri, 6 Nov 2015 16:01:29 -0500

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@xxxxxxxxxx>
---
 tools/lib/lockdep/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lib/lockdep/common.c b/tools/lib/lockdep/common.c
index 8ef602f..9be6633 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)
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux