]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf tools: Remove old baggage that is util/include/linux/ctype.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 21:19:33 +0000 (18:19 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 21:31:12 +0000 (18:31 -0300)
It was just including a ../util.h that wasn't even there:

  $ cat tools/perf/util/include/linux/../util.h
  cat: tools/perf/util/include/linux/../util.h: No such file or directory
  $

This would make kallsyms.h get util.h somehow and then files including
it would get util.h defined stuff, a mess, fix it.

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-wlzwken4psiat4zvfbvaoqiw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/symbol/kallsyms.h
tools/perf/util/include/linux/ctype.h [deleted file]

index bd988f7b18d4a12d69d2eb43c0710ea266642e72..2b238f181d97c3dc40b28800468177d558c999fa 100644 (file)
@@ -3,7 +3,6 @@
 #define __TOOLS_KALLSYMS_H_ 1
 
 #include <elf.h>
-#include <linux/ctype.h>
 #include <linux/types.h>
 
 #ifndef KSYM_NAME_LEN
diff --git a/tools/perf/util/include/linux/ctype.h b/tools/perf/util/include/linux/ctype.h
deleted file mode 100644 (file)
index a53d4ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "../util.h"