summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2021-08-11 11:27:03 +0200
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-08-20 12:39:28 +0200
commit88210317eec69d8c06cac6d6751528160e153ffd (patch)
treee789d185fc95bc1d77dbf06f27a32faabe23d8ef /arch/arm
parentARM: 9110/1: oabi-compat: fix oabi epoll sparse warning (diff)
downloadlinux-88210317eec69d8c06cac6d6751528160e153ffd.tar.xz
linux-88210317eec69d8c06cac6d6751528160e153ffd.zip
ARM: 9116/1: unified: Remove check for gcc < 4
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 <geert+renesas@glider.be> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/unified.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/include/asm/unified.h b/arch/arm/include/asm/unified.h
index 1e2c3eb04353..ce9689118dbb 100644
--- a/arch/arm/include/asm/unified.h
+++ b/arch/arm/include/asm/unified.h
@@ -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