diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-04-03 10:23:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 10:23:20 -0300 |
commit | f5ef996a1d4e121b54b05fe437dbb0d974314930 (patch) | |
tree | 8e5dc581c2eadbbb37d68d93af8506894ad23c41 /recipes-kernel/linux/linux-qoriq/0001-perf-tests-bp_account-Make-global-variable-static.patch | |
parent | 299babe60850757fde8f717bd6831c16213762c8 (diff) | |
parent | 165d7b938904bb15a45d9d24be6cce6117319a71 (diff) | |
download | meta-freescale-f5ef996a1d4e121b54b05fe437dbb0d974314930.tar.gz |
Merge pull request #1474 from MrCry0/master-rm-patches
linux-qoriq: remove unused patches
Diffstat (limited to 'recipes-kernel/linux/linux-qoriq/0001-perf-tests-bp_account-Make-global-variable-static.patch')
-rw-r--r-- | recipes-kernel/linux/linux-qoriq/0001-perf-tests-bp_account-Make-global-variable-static.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/recipes-kernel/linux/linux-qoriq/0001-perf-tests-bp_account-Make-global-variable-static.patch b/recipes-kernel/linux/linux-qoriq/0001-perf-tests-bp_account-Make-global-variable-static.patch deleted file mode 100644 index b36ed2cc..00000000 --- a/recipes-kernel/linux/linux-qoriq/0001-perf-tests-bp_account-Make-global-variable-static.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From cff20b3151ccab690715cb6cf0f5da5cccb32adf Mon Sep 17 00:00:00 2001 | ||
2 | From: Arnaldo Carvalho de Melo <acme@redhat.com> | ||
3 | Date: Mon, 2 Mar 2020 11:13:19 -0300 | ||
4 | Subject: [PATCH] perf tests bp_account: Make global variable static | ||
5 | |||
6 | To fix the build with newer gccs, that without this patch exit with: | ||
7 | |||
8 | LD /tmp/build/perf/tests/perf-in.o | ||
9 | ld: /tmp/build/perf/tests/bp_account.o:/git/perf/tools/perf/tests/bp_account.c:22: multiple definition of `the_var'; /tmp/build/perf/tests/bp_signal.o:/git/perf/tools/perf/tests/bp_signal.c:38: first defined here | ||
10 | make[4]: *** [/git/perf/tools/build/Makefile.build:145: /tmp/build/perf/tests/perf-in.o] Error 1 | ||
11 | |||
12 | First noticed in fedora:rawhide/32 with: | ||
13 | |||
14 | [perfbuilder@a5ff49d6e6e4 ~]$ gcc --version | ||
15 | gcc (GCC) 10.0.1 20200216 (Red Hat 10.0.1-0.8) | ||
16 | |||
17 | Upstream-Status: Backport | ||
18 | |||
19 | Reported-by: Jiri Olsa <jolsa@kernel.org> | ||
20 | Cc: Adrian Hunter <adrian.hunter@intel.com> | ||
21 | Cc: Namhyung Kim <namhyung@kernel.org> | ||
22 | Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> | ||
23 | --- | ||
24 | tools/perf/tests/bp_account.c | 2 +- | ||
25 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
26 | |||
27 | diff --git a/tools/perf/tests/bp_account.c b/tools/perf/tests/bp_account.c | ||
28 | index d0b935356274..489b50604cf2 100644 | ||
29 | --- a/tools/perf/tests/bp_account.c | ||
30 | +++ b/tools/perf/tests/bp_account.c | ||
31 | @@ -19,7 +19,7 @@ | ||
32 | #include "../perf-sys.h" | ||
33 | #include "cloexec.h" | ||
34 | |||
35 | -volatile long the_var; | ||
36 | +static volatile long the_var; | ||
37 | |||
38 | static noinline int test_function(void) | ||
39 | { | ||
40 | -- | ||
41 | 2.17.1 | ||
42 | |||