File perf-env-remove-needless-cpumap-h-header-partial.patch of Package perf

From: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Tue, 10 Sep 2019 16:29:02 +0100
Subject: perf env: Remove needless cpumap.h header
Git-commit: 87ffb6c6407023419ae6b2770142b0754d9cbaa1
 (partial)
Patch-mainline: v5.4-rc1
References: SLE-14769
Patch-filtered: tools/perf/util/arm-spe.c

Only a 'struct perf_cmp_map' forward allocation is necessary, fix the
places that need the header but were getting it indirectly, by luck,
from env.h.

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-3sj3n534zghxhk7ygzeaqlx9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Tony Jones <tonyj@suse.de>
---

 tools/perf/util/arm-spe.c |    1 -
 1 file changed, 1 deletion(-)

--- a/tools/perf/util/arm-spe.c
+++ b/tools/perf/util/arm-spe.c
@@ -16,7 +16,6 @@
 #include <linux/log2.h>
 #include <linux/zalloc.h>
 
-#include "cpumap.h"
 #include "color.h"
 #include "evsel.h"
 #include "machine.h"


openSUSE Build Service is sponsored by