]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0b9c51205ba4419480ee5029d3b647806c78774
tree3e7f20a6756579c4a155dca37ebdf088b4305ecf
parent199f2a56ccbbbc8c38a535d8f7506a6cbe4873e5
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