selftests/powerpc: Move set_dscr() into rfi_flush.c
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Aug 2020 01:57:21 +0000 (11:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Sep 2020 12:23:57 +0000 (22:23 +1000)
commitd89002397cfb2b65267d6688fe671ee1cf7c5f0d
treefa3e99d14245c84ac73a46f8c05d739c69aeff74
parent17c98a541dc9bb1162877af41cddbdca043f9a59
selftests/powerpc: Move set_dscr() into rfi_flush.c

This version of set_dscr() was added for the RFI flush test, and is
fairly specific to it. It also clashes with the version of set_dscr()
in dscr/dscr.h. So move it into the RFI flush test where it's used.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-3-mpe@ellerman.id.au
tools/testing/selftests/powerpc/include/utils.h
tools/testing/selftests/powerpc/security/rfi_flush.c
tools/testing/selftests/powerpc/utils.c