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>
Fri, 31 Jul 2020 14:44:04 +0000 (16:44 +0200)
commit998c0852c5285e2e3259c52d79b8d9da05f2781d
treee232b993932ad61b6f58d0c5d7aeae300430fd55
parentf038d105d093c596f390798436c0478bd7479614
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