From: Adrian Bunk Since we do no longer support any gcc < 3.0, there's no need to check for it.. Signed-off-by: Adrian Bunk Cc: Sam Ravnborg Signed-off-by: Andrew Morton --- arch/i386/Makefile | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) diff -puN arch/i386/Makefile~i386-remove-gcc-version-check-for-config_regparm arch/i386/Makefile --- 25/arch/i386/Makefile~i386-remove-gcc-version-check-for-config_regparm Thu Jan 12 17:23:51 2006 +++ 25-akpm/arch/i386/Makefile Thu Jan 12 17:23:51 2006 @@ -37,10 +37,7 @@ CFLAGS += $(call cc-option,-mpreferred-s # CPU-specific tuning. Anything which can be shared with UML should go here. include $(srctree)/arch/i386/Makefile.cpu -# -mregparm=3 works ok on gcc-3.0 and later -# -cflags-$(CONFIG_REGPARM) += $(shell if [ $(call cc-version) -ge 0300 ] ; then \ - echo "-mregparm=3"; fi ;) +cflags-$(CONFIG_REGPARM) += -mregparm=3 # Disable unit-at-a-time mode, it makes gcc use a lot more stack # due to the lack of sharing of stacklots. _