Force erroneous inclusions of compiler-*.h files to be errors
authorRobert P. J. Day <rpjday@mindspring.com>
Wed, 17 Oct 2007 06:26:11 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:47 +0000 (08:42 -0700)
commit94f582f82a85a941678c80c60a3baa8187c74217
tree83653a3a93b9291d658025a800d5fbed00ee484c
parenta36a151e79be1562d6fea3ec4698f23e7102a26f
Force erroneous inclusions of compiler-*.h files to be errors

Replace worthless comments with actual preprocessor errors when including
the wrong versions of the compiler.h files.

[akpm@linux-foundation.org: make it work]
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
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-intel.h