]> git.baikalelectronics.ru Git - kernel.git/commit
compiler_attributes.h: cleanups for GCC 4.9+
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 21 Jun 2021 23:18:21 +0000 (16:18 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 22 Jun 2021 18:05:35 +0000 (11:05 -0700)
commitf3bf444516edf8ed46cb2ebab415bcaac8c3e3fa
tree6f646eb37c1c67b102832d090642b23fe98637b0
parentcb086c116e60ed0af3637e1b5fcde4a4b3e086f6
compiler_attributes.h: cleanups for GCC 4.9+

Since
commit 79fe9a4d1824 ("Raise gcc version requirement to 4.9")
we no longer support building the kernel with GCC 4.8; drop the
preprocess checks for __GNUC_MINOR__ version. It's implied that if
__GNUC_MAJOR__ is 4, then the only supported version of __GNUC_MINOR__
left is 9.

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210621231822.2848305-3-ndesaulniers@google.com
include/linux/compiler_attributes.h