]> Git Repo - J-linux.git/commitdiff
ARM: 9116/1: unified: Remove check for gcc < 4
authorGeert Uytterhoeven <[email protected]>
Wed, 11 Aug 2021 09:27:03 +0000 (10:27 +0100)
committerRussell King (Oracle) <[email protected]>
Fri, 20 Aug 2021 10:39:28 +0000 (11:39 +0100)
Since commit cafa0010cd51fb71 ("Raise the minimum required gcc version
to 4.6"), the kernel can no longer be compiled using gcc-3.
Hence this condition is never true, and the check can thus be removed.

Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
arch/arm/include/asm/unified.h

index 1e2c3eb043535f7b8fe75d5c12f5a00aa6825c8e..ce9689118dbb945b19484c806b921f677a3bd869 100644 (file)
@@ -24,10 +24,6 @@ __asm__(".syntax unified");
 
 #ifdef CONFIG_THUMB2_KERNEL
 
-#if __GNUC__ < 4
-#error Thumb-2 kernel requires gcc >= 4
-#endif
-
 /* The CPSR bit describing the instruction set (Thumb) */
 #define PSR_ISETSTATE  PSR_T_BIT
 
This page took 0.049835 seconds and 4 git commands to generate.