]> git.karo-electronics.de Git - karo-tx-linux.git/commit
compiler-gcc{3,4}.h: Use GCC_VERSION macro
authorDaniel Santos <daniel.santos@pobox.com>
Wed, 20 Feb 2013 02:13:29 +0000 (13:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:00 +0000 (16:52 +1100)
commit21f883b84e8f87b0964991add60f6343955a6059
tree37965e6ac5610fcbc2eb0880f40fae8a4d1c3dbc
parentf5b0121bdaae810d90ad4dab8d3f8ffd30940973
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>
include/linux/compiler-gcc3.h
include/linux/compiler-gcc4.h