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)
commitae4d682dfd3350d9836dafeed1fc5aa1e27c4963
tree6f646eb37c1c67b102832d090642b23fe98637b0
parent380d53c45ff21f66870ee965b62613137f9d010d
compiler_attributes.h: cleanups for GCC 4.9+

Since
commit 6ec4476ac825 ("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