File perf-tools-remove-util-h-from-where-it-is-not-needed.patch of Package perf
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Tue, 3 Sep 2019 10:56:06 -0300
Subject: perf tools: Remove util.h from where it is not needed
Git-commit: fb71c86cc804b8f490fce1b9140014043ec41858
(partial)
Patch-mainline: v5.4-rc1
References: jsc#SLE-13661
Patch-filtered: tools/perf/arch/powerpc/util/header.c
X-Info: filtered patch
Check that it is not needed and remove, fixing up some fallout for
places where it was only serving to get something else.
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-9h6dg6lsqe2usyqjh5rrues4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Tony Jones <tonyj@suse.de>
---
tools/perf/arch/powerpc/util/header.c | 1 -
1 file changed, 1 deletion(-)
--- a/tools/perf/arch/powerpc/util/header.c
+++ b/tools/perf/arch/powerpc/util/header.c
@@ -6,7 +6,6 @@
#include <string.h>
#include <linux/stringify.h>
#include "header.h"
-#include "util.h"
#define mfspr(rn) ({unsigned long rval; \
asm volatile("mfspr %0," __stringify(rn) \