]> git.baikalelectronics.ru Git - kernel.git/commit
compiler-gcc: remove comment about gcc 4.5 from unreachable()
authorndesaulniers@google.com <ndesaulniers@google.com>
Mon, 15 Oct 2018 21:24:27 +0000 (14:24 -0700)
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Fri, 19 Oct 2018 06:47:30 +0000 (08:47 +0200)
commit1319330d85688e13a00410c360988df21e1c3850
tree7f136a2a8db1e6266761a69a6d3917a8e6621e16
parent7c4b4377e10e139bb28869cbda23d1921e782482
compiler-gcc: remove comment about gcc 4.5 from unreachable()

Remove the comment about being unable to detect __builtin_unreachable.
__builtin_unreachable was implemented in the GCC 4.5 timeframe. The
kernel's minimum supported version of GCC is 4.6 since commit
f82eb0db44c7 ("Raise the minimum required gcc version to 4.6"). Commit
fc40a1239e83 ("compiler-gcc: integrate the various compiler-gcc[345].h
files") shows that unreachable() had different guards based on GCC
version.

Suggested-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
include/linux/compiler-gcc.h