tools include compiler-gcc: Add __pure attribute helper
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 May 2018 18:12:36 +0000 (15:12 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 May 2018 18:17:21 +0000 (15:17 -0300)
commit6e1690c4c0b540930f08295b6a95c8660b257745
tree087d0a90ca6494d7022e0b91f74e8bbba48b56f2
parent789e465058352122023e4fa7de8dcf5c513e0b0b
tools include compiler-gcc: Add __pure attribute helper

Adopt it from the kernel sources, will be used soon.

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: https://lkml.kernel.org/n/tip-oubheiqj8edo5rzewt11cbn0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/compiler-gcc.h