mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PATCH] remove gcc-2 checks
Remove various things which were checking for gcc-1.x and gcc-2.x compilers. From: Adrian Bunk <[email protected]> Some documentation updates and removes some code paths for gcc < 3.2. Acked-by: Russell King <[email protected]> Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fd285bb54d
commit
a136564702
32 changed files with 37 additions and 194 deletions
|
|
@ -25,13 +25,6 @@
|
|||
#if defined(__APCS_32__) && defined(CONFIG_CPU_26)
|
||||
#error Sorry, your compiler targets APCS-32 but this kernel requires APCS-26
|
||||
#endif
|
||||
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 95)
|
||||
#error Sorry, your compiler is known to miscompile kernels. Only use gcc 2.95.3 and later.
|
||||
#endif
|
||||
#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
|
||||
/* shame we can't detect the .1 or .2 releases */
|
||||
#warning GCC 2.95.2 and earlier miscompiles kernels.
|
||||
#endif
|
||||
|
||||
/* Use marker if you need to separate the values later */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue