]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:48:32 +0000 (09:48 +0100)
commit76cb3c86928203d21d3304098e3497d0f2cd35f7
treef00246c416558d487c5757c43229659dd0a3c983
parent4577840885d5e12f720ad44b0ef51cdf0bdb88ab
powerpc/xmon: fix task state output

BugLink: https://bugs.launchpad.net/bugs/1951822
[ Upstream commit b1f896ce3542eb2eede5949ee2e481526fae1108 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/powerpc/xmon/xmon.c