diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 23:10:59 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-01 01:10:40 +0300 |
commit | b6b5574b80d6ce6ca87ae3ea1e97cff1bf730f2e (patch) | |
tree | 2c7d4cd02b49a1778e6e9df66eb0b38224dca8ce /tools/perf/tests | |
parent | 8520a98dbab61e9e340cdfb72dd17ccc8a98961e (diff) | |
download | linux-b6b5574b80d6ce6ca87ae3ea1e97cff1bf730f2e.tar.xz |
perf env: Remove env.h from other headers where just a fwd decl is needed
And fixup the fallout of c files not building due to now missing
headers.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-sw8k3kpla98pr3rqypbjk9hf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests')
-rw-r--r-- | tools/perf/tests/mem2node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/mem2node.c b/tools/perf/tests/mem2node.c index 73b2855acaf4..7672ade70f20 100644 --- a/tools/perf/tests/mem2node.c +++ b/tools/perf/tests/mem2node.c @@ -1,10 +1,12 @@ // SPDX-License-Identifier: GPL-2.0 #include <linux/compiler.h> #include <linux/bitmap.h> +#include <linux/kernel.h> #include <linux/zalloc.h> #include <perf/cpumap.h> #include "cpumap.h" #include "debug.h" +#include "env.h" #include "mem2node.h" #include "tests.h" |