]> git.baikalelectronics.ru Git - kernel.git/commit
tools: Adopt __noreturn from kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Jun 2017 14:39:15 +0000 (11:39 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Jun 2017 18:14:58 +0000 (15:14 -0300)
commitc6ed0ca7ae1e40fe3f4b8ba04109da8f5f057330
tree55e93240208b072307f144520766a4fd75dd15d5
parent49e560753baaeed60df3199bfc2814e8bd2f4309
tools: Adopt __noreturn from kernel sources

To have a more compact way to specify that a function doesn't return,
instead of the open coded:

__attribute__((noreturn))

And use it instead of the tools/perf/ specific variation, NORETURN.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-l0y144qzixcy5t4c6i7pdiqj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/compiler-gcc.h
tools/perf/util/scripting-engines/trace-event-python.c
tools/perf/util/usage.c
tools/perf/util/util.h