]> git.baikalelectronics.ru Git - kernel.git/commit
Restore gcc check in mips asm/unroll.h
authorCesar Eduardo Barros <cesarb@cesarb.eti.br>
Thu, 9 Jul 2020 22:11:02 +0000 (19:11 -0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Jul 2020 01:03:47 +0000 (18:03 -0700)
commitee7d6ec31b14f2379795731aed1db8ff7d10c889
tree9df019abe251e02bdeb454d0f3d41b4319b8b21f
parent7aa7e4acbbaa73ccbd4b677e70ed5ede121b0ac1
Restore gcc check in mips asm/unroll.h

While raising the gcc version requirement to 4.9, the compile-time check
in the unroll macro was accidentally changed from being used on gcc and
clang to being used on clang only.

Restore the gcc check, changing it from "gcc >= 4.7" to "all gcc".

[ We should probably remove this all entirely: if we remove the check
  for CLANG, then the check for GCC can go away. Older versions of clang
  are not really appropriate or supported for kernel builds - Linus ]

Fixes: 79fe9a4d1824 ("Raise gcc version requirement to 4.9")
Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.eti.br>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/include/asm/unroll.h