[PATCH] kernel/hung_task: Use task_pid_nr function to get pid

2020-05-22 Thread qiang.zhang
From: Zhang Qiang Use task_pid_nr(t) function instead of t->pid when printing task pid. Signed-off-by: Zhang Qiang --- kernel/hung_task.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/hung_task.c b/kernel/hung_task.c index 14a625c16cb3..0a77f6af6909 100644 --- a/

[PATCH] kernel/hung_task: Use task_pid_nr function to get pid

2020-05-21 Thread qiang.zhang
From: Zhang Qiang Use task_pid_nr(t) function instead of t->pid when printing task pid Signed-off-by: Zhang Qiang --- kernel/hung_task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/hung_task.c b/kernel/hung_task.c index 14a625c16cb3..f397beb8c9e1 100644 --- a/ker