arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
authorWill Deacon <will@kernel.org>
Thu, 13 Feb 2020 12:12:26 +0000 (12:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:54 +0000 (10:19 +0200)
commitfd31dfd9d9827cef9aaee2d50fbbd7f2056edb65
tree1e15ad50febd4cb4b3404d5a002a09900cc55b82
parentc4c6588275d24c14d2481dca59e6915e980a9707
arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP

[ Upstream commit 5afc78551bf5d53279036e0bf63314e35631d79f ]

Rather than open-code test_tsk_thread_flag() at each callsite, simply
replace the couple of offenders with calls to test_tsk_thread_flag()
directly.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/kernel/debug-monitors.c