]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0dc5481bbf2fc4b2ae267babf745deeb99fac6f6
tree4543d0c3468189d58d8040ae0305750cc245f6b7
parent263b4a1758d9665a866fc366bd6df604540bca1a
powerpc/xmon: fix task state output

p_state is unsigned since the commit 1a609bb5672f

The patch also uses TASK_RUNNING instead of null.

Fixes: 1a609bb5672f ("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