Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759211AbZABSEs (ORCPT ); Fri, 2 Jan 2009 13:04:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757688AbZABSEY (ORCPT ); Fri, 2 Jan 2009 13:04:24 -0500 Received: from pfepa.post.tele.dk ([195.41.46.235]:37110 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757512AbZABSEW (ORCPT ); Fri, 2 Jan 2009 13:04:22 -0500 Date: Fri, 2 Jan 2009 19:05:59 +0100 From: Sam Ravnborg To: Ingo Molnar Cc: Bartlomiej Zolnierkiewicz , David Miller , Linus Torvalds , akpm@linux-foundation.org, rdreier@cisco.com, ian.campbell@citrix.com, jeremy.fitzhardinge@citrix.com, deller@gmx.de, rusty@rustcorp.com.au, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, kyle@mcmartin.ca, randolph@tausq.org, dave@hiauly1.hia.nrc.ca Subject: Re: [PATCH] kbuild: Remove gcc 4.1.0 quirk from init/main.c Message-ID: <20090102180559.GA5905@uranus.ravnborg.org> References: <20081231.141408.60544902.davem@davemloft.net> <20090102115547.GB3027@elte.hu> <200901021443.58769.bzolnier@gmail.com> <20090102152124.GA19091@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090102152124.GA19091@elte.hu> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1485 Lines: 47 > From d23cbaaa342e5555a919a543095d656415a55950 Mon Sep 17 00:00:00 2001 > From: Ingo Molnar > Date: Fri, 2 Jan 2009 16:16:16 +0100 > Subject: [PATCH] kbuild: Remove gcc 4.1.0 quirk from init/main.c > > Impact: cleanup > > We now have a cleaner check for gcc 4.1.0/4.1.1 trouble in > include/linux/compiler.h, so remove the 4.1.0 quirk from > init/main.c. > > Reported-by: Bartlomiej Zolnierkiewicz > Signed-off-by: Ingo Molnar This should be applied despite Linus' different approach in compiler.h. Acked-by: Sam Ravnborg > --- > init/main.c | 9 --------- > 1 files changed, 0 insertions(+), 9 deletions(-) > > diff --git a/init/main.c b/init/main.c > index 2a7ce0f..5ced153 100644 > --- a/init/main.c > +++ b/init/main.c > @@ -75,15 +75,6 @@ > #include > #endif > > -/* > - * This is one of the first .c files built. Error out early if we have compiler > - * trouble. > - */ > - > -#if __GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 0 > -#warning gcc-4.1.0 is known to miscompile the kernel. A different compiler version is recommended. > -#endif > - > static int kernel_init(void *); > > extern void init_IRQ(void); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/