]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Sanitize gcc version header includes
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 17:23:03 +0000 (09:23 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 17:23:03 +0000 (09:23 -0800)
commitf153b82121b0366fe0e5f9553545cce237335175
treecba4b60e9129fbcdfc254386954f0f17dba0c15d
parentb58602a4bac012b5f4fc12fe6b46ab237b610d5d
Sanitize gcc version header includes

 - include the gcc version-dependent header files from the generic gcc
   header file, rather than the other way around (iow: don't make the
   non-gcc header file have to know about gcc versions)

 - don't include compiler-gcc4.h for gcc 5 (for whenever it gets
   released).  That's just confusing and made us do odd things in the
   gcc4 header file (testing that we really had version 4!)

 - generate the name from the __GNUC__ version directly, rather than
   having a mess of #if conditionals.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compiler-gcc.h
include/linux/compiler-gcc3.h
include/linux/compiler-gcc4.h
include/linux/compiler.h