Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 21 Oct 2002 08:26:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 21 Oct 2002 08:26:49 -0400 Received: from pc1-cwma1-5-cust42.swa.cable.ntl.com ([80.5.120.42]:4276 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Mon, 21 Oct 2002 08:26:47 -0400 Subject: Re: [PATCH] fixes for building kernel using Intel compiler From: Alan Cox To: "Nakajima, Jun" Cc: Linus Torvalds , Linux Kernel Mailing List , "Mallick, Asit K" , "Saxena, Sunil" In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 21 Oct 2002 13:48:25 +0100 Message-Id: <1035204505.27318.81.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1037 Lines: 25 On Sat, 2002-10-19 at 00:48, Nakajima, Jun wrote: > -/* Enable FXSR and company _before_ testing for FP problems. */ > - /* > - * Verify that the FXSAVE/FXRSTOR data will be 16-byte aligned. > - */ > - if (offsetof(struct task_struct, thread.i387.fxsave) & 15) { > - extern void __buggy_fxsr_alignment(void); > - __buggy_fxsr_alignment(); > - } > if (cpu_has_fxsr) { > printk(KERN_INFO "Enabling fast FPU save and restore... "); So you back out a test that is pretty much essential to catch misaligned stuff if we do get something wrong in our alignments or due to compiler suprises and hope it doesnt happen ? This isnt "fixing" this is the mad axeman at work. Linus this patch should not go in as it is - 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/