mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
16 lines
384 B
Makefile
16 lines
384 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
TEST_GEN_PROGS := rfi_flush entry_flush spectre_v2
|
|
top_srcdir = ../../../../..
|
|
|
|
CFLAGS += -I../../../../../usr/include
|
|
|
|
include ../../lib.mk
|
|
|
|
$(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
|