]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Don't operate with pid_t in rtmutex tester
authorPavel Emelyanov <xemul@openvz.org>
Fri, 8 Feb 2008 12:21:53 +0000 (04:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:41 +0000 (09:22 -0800)
commit48d13e483c5b450be451f78cc9cb43c0bdd6b7bb
treec12c76e72ee5d1c202937c7327b2a05474fbcabc
parent8dc86af00612e5ccff3384c17575362a3f2a2ca0
Don't operate with pid_t in rtmutex tester

The proper behavior to store task's pid and get this task later is to get the
struct pid pointer and get the task with the pid_task() call.

Make it for rt_mutex_waiter->deadlock_task_pid field.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/rtmutex-debug.c
kernel/rtmutex_common.h