diff options
author | Daniel Axtens <dja@axtens.net> | 2020-11-17 16:59:15 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-11-19 23:47:23 +1100 |
commit | 0d239f3b03efc78fb5b290aff6c747fecd3b98cb (patch) | |
tree | 394f601c1777fb63ba77e10e92ad1d4d155c5c4d /tools/testing/selftests/powerpc/security/Makefile | |
parent | 89a83a0c69c81a25ce91002b90ca27ed86132a0a (diff) | |
download | lwn-0d239f3b03efc78fb5b290aff6c747fecd3b98cb.tar.gz lwn-0d239f3b03efc78fb5b290aff6c747fecd3b98cb.zip |
selftests/powerpc: refactor entry and rfi_flush tests
For simplicity in backporting, the original entry_flush test contained
a lot of duplicated code from the rfi_flush test. De-duplicate that code.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/security/Makefile')
-rw-r--r-- | tools/testing/selftests/powerpc/security/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/security/Makefile b/tools/testing/selftests/powerpc/security/Makefile index 921152caf1dc..f25e854fe370 100644 --- a/tools/testing/selftests/powerpc/security/Makefile +++ b/tools/testing/selftests/powerpc/security/Makefile @@ -11,3 +11,5 @@ $(TEST_GEN_PROGS): ../harness.c ../utils.c $(OUTPUT)/spectre_v2: CFLAGS += -m64 $(OUTPUT)/spectre_v2: ../pmu/event.c branch_loops.S +$(OUTPUT)/rfi_flush: flush_utils.c +$(OUTPUT)/entry_flush: flush_utils.c |