locking: avoid passing around 'thread_info' in mutex debugging code
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Jun 2016 19:11:17 +0000 (12:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Jun 2016 19:11:17 +0000 (12:11 -0700)
commit6720a305df74ca30bcc10fc316881641b6ff0c80
tree3e7f20a6756579c4a155dca37ebdf088b4305ecf
parentf9020d17416ae62f1b1c6459d61e65abb4af79b5
locking: avoid passing around 'thread_info' in mutex debugging code

None of the code actually wants a thread_info, it all wants a
task_struct, and it's just converting back and forth between the two
("ti->task" to get the task_struct from the thread_info, and
"task_thread_info(task)" to go the other way).

No semantic change.

Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/locking/mutex-debug.c
kernel/locking/mutex-debug.h
kernel/locking/mutex.c
kernel/locking/mutex.h