]> git.baikalelectronics.ru Git - kernel.git/commit
tools: Make "__always_inline" just "inline" on Android
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Jul 2016 15:03:04 +0000 (12:03 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Jul 2016 15:03:04 +0000 (12:03 -0300)
commitab0728d0ad7b0cf3250c24f1e75452478e4e6c61
tree82af92043203044bef4822359b4ae30149fd7dd6
parent8db1bf6a97f35ee1d904c50ebebd1957987f75be
tools: Make "__always_inline" just "inline" on Android

As the gcc there is producing tons of:

  "warning: always_inline function might not be inlinable"

At least on android-ndk-r12/platforms/android-24/arch-arm, so, for the
time being, use this big hammer.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Chris Phlipot <cphlipot0@gmail.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-97l3eg3fnk5shmo4rsyyvj2t@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/compiler.h