summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86/tests/rdpmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/tests/rdpmc.c')
-rw-r--r--tools/perf/arch/x86/tests/rdpmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/arch/x86/tests/rdpmc.c b/tools/perf/arch/x86/tests/rdpmc.c
index 500cf96db979..7a11f02d6c6c 100644
--- a/tools/perf/arch/x86/tests/rdpmc.c
+++ b/tools/perf/arch/x86/tests/rdpmc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
@@ -154,7 +155,7 @@ out_close:
return 0;
}
-int test__rdpmc(int subtest __maybe_unused)
+int test__rdpmc(struct test *test __maybe_unused, int subtest __maybe_unused)
{
int status = 0;
int wret = 0;