tools headers: Get tools's linux/compiler.h closer to the kernel's
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 18 Dec 2020 12:59:05 +0000 (09:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 18 Dec 2020 20:32:26 +0000 (17:32 -0300)
commit4bba4c4bb09ad4a2b70836725e08439c86d8f9e4
tree764920d0e1a3e78e2d4f51babc550d8ec5234a8e
parent1c28a05d1a972594164efc7fcffda416c5d6ab02
tools headers: Get tools's linux/compiler.h closer to the kernel's

We're cherry picking stuff from the kernel to allow for the other
headers that we keep in sync via tools/perf/check-headers.sh to work,
so introduce linux/compiler_types.h and from there get the compiler
specific stuff.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/compiler.h
tools/include/linux/compiler_types.h [new file with mode: 0644]