]> git.baikalelectronics.ru Git - kernel.git/commit
compiler-gcc{3,4}.h: Use GCC_VERSION macro
authorDaniel Santos <daniel.santos@pobox.com>
Fri, 22 Feb 2013 00:41:41 +0000 (16:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:15 +0000 (17:22 -0800)
commit30dcc3a7535e1af611ae5060df8e7eb3cb691db6
tree3d7a2704f4501729a0297803403b09d0b20508d3
parenta71f9bc8787589f03e8b1654ed82314375bcdbb2
compiler-gcc{3,4}.h: Use GCC_VERSION macro

Using GCC_VERSION reduces complexity, is easier to read and is GCC's
recommended mechanism for doing version checks.  (Just don't ask me why
they didn't define it in the first place.) This also makes it easy to
merge compiler-gcc{,3,4}.h should somebody want to.

Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Borislav Petkov <bp@alien8.de>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Joe Perches <joe@perches.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compiler-gcc3.h
include/linux/compiler-gcc4.h