Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261683AbTKBMwk (ORCPT ); Sun, 2 Nov 2003 07:52:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261684AbTKBMwk (ORCPT ); Sun, 2 Nov 2003 07:52:40 -0500 Received: from mx1.redhat.com ([66.187.233.31]:8462 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S261683AbTKBMwj (ORCPT ); Sun, 2 Nov 2003 07:52:39 -0500 Date: Sun, 2 Nov 2003 12:52:03 +0000 From: Dave Jones To: Geoffrey Lee Cc: linux-kernel@vger.kernel.org Subject: Re: [patch] reproducible athlon mce fix Message-ID: <20031102125202.GA7992@redhat.com> Mail-Followup-To: Dave Jones , Geoffrey Lee , linux-kernel@vger.kernel.org References: <20031102055748.GA1218@anakin.wychk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031102055748.GA1218@anakin.wychk.org> User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 22 On Sun, Nov 02, 2003 at 01:57:48PM +0800, Geoffrey Lee wrote: > preempt_disable(); > +#if CONFIG_MK7 > + for (i=1; i +#else > for (i=0; i +#endif > rdmsr (MSR_IA32_MC0_STATUS+i*4, low, high); This needs to be a runtime check. In 2.6, a K7 can boot a P4 kernel, and vice versa. Dave -- Dave Jones http://www.codemonkey.org.uk - 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/