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)
commit733ed6e43756b0aec25c9429b810ba74e24c980c
tree3d7a2704f4501729a0297803403b09d0b20508d3
parent3f3f8d2f48acfd8ed3b8e6b7377935da57b27b16
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
This page took 0.023955 seconds and 5 git commands to generate.