commit | 733ed6e43756b0aec25c9429b810ba74e24c980c | [log] [tgz] |
---|---|---|
author | Daniel Santos <[email protected]> | Thu Feb 21 16:41:41 2013 -0800 |
committer | Linus Torvalds <[email protected]> | Thu Feb 21 17:22:15 2013 -0800 |
tree | 3d7a2704f4501729a0297803403b09d0b20508d3 | |
parent | 3f3f8d2f48acfd8ed3b8e6b7377935da57b27b16 [diff] |
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 <[email protected]> Acked-by: David Rientjes <[email protected]> Acked-by: Borislav Petkov <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Joe Perches <[email protected]> Cc: Josh Triplett <[email protected]> Cc: Paul Gortmaker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>