powerpc/xmon: fix task state output
authorDenis Kirjanov <kda@linux-powerpc.org>
Tue, 26 Oct 2021 13:31:08 +0000 (16:31 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 Oct 2021 11:32:03 +0000 (22:32 +1100)
commitb1f896ce3542eb2eede5949ee2e481526fae1108
tree4543d0c3468189d58d8040ae0305750cc245f6b7
parent290fe8aa69ef5c51c778c0bb33f8ef0181c769f5
powerpc/xmon: fix task state output

p_state is unsigned since the commit 2f064a59a11f

The patch also uses TASK_RUNNING instead of null.

Fixes: 2f064a59a11f ("sched: Change task_struct::state")
Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211026133108.7113-1-kda@linux-powerpc.org
arch/powerpc/xmon/xmon.c