Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Remove old baggage that is util/include/linux/ctype.h

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>

-2
-1
tools/lib/symbol/kallsyms.h
··· 3 3 #define __TOOLS_KALLSYMS_H_ 1 4 4 5 5 #include <elf.h> 6 - #include <linux/ctype.h> 7 6 #include <linux/types.h> 8 7 9 8 #ifndef KSYM_NAME_LEN
-1
tools/perf/util/include/linux/ctype.h
··· 1 - #include "../util.h"