selftests/x86/syscall_nt: Clear weird flags after each test
authorAndy Lutomirski <luto@kernel.org>
Fri, 26 Jun 2020 17:21:15 +0000 (10:21 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 1 Jul 2020 08:00:26 +0000 (10:00 +0200)
commita61fa2799ef9bf6c4f54cf7295036577cececc72
tree523789cd88752720f6fa9732f4ed245d4dc8d658
parente4ef7de160c6b12639c4fc49bcacb25b860ac76d
selftests/x86/syscall_nt: Clear weird flags after each test

Clear the weird flags before logging to improve strace output --
logging results while, say, TF is set does no one any favors.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/907bfa5a42d4475b8245e18b67a04b13ca51ffdb.1593191971.git.luto@kernel.org
tools/testing/selftests/x86/syscall_nt.c