]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tools include: Adopt __compiletime_error
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 22 Feb 2017 19:48:24 +0000 (16:48 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Mar 2017 22:07:13 +0000 (19:07 -0300)
commit4900653829175f60356efc279695bb23c59483c3
tree7c7b3abf61ac8f4064c74d9d930d9197a7ff4dcd
parent02d492e5dcb72c004d213756eb87c9d62a6d76a7
tools include: Adopt __compiletime_error

From the kernel, get the gcc one and provide the fallback so that we can
continue build with other compilers, such as with clang.

Will be used by tools/arch/x86/include/asm/cmpxchg.h.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Elena Reshetova <elena.reshetova@intel.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-pecgz6efai4a9euuk4rxuotr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/compiler-gcc.h
tools/include/linux/compiler.h