Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946504AbXBIPDt (ORCPT ); Fri, 9 Feb 2007 10:03:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946506AbXBIPDt (ORCPT ); Fri, 9 Feb 2007 10:03:49 -0500 Received: from ozlabs.org ([203.10.76.45]:47107 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946504AbXBIPDs (ORCPT ); Fri, 9 Feb 2007 10:03:48 -0500 Subject: [PATCH 1 of 7] lguest: Move mce_disabled to asm/mce.h so lguest can use it. From: Rusty Russell To: lkml - Kernel Mailing List Cc: Andi Kleen , Andrew Morton , virtualization In-Reply-To: <1171033146.2718.157.camel@localhost.localdomain> References: <1171033146.2718.157.camel@localhost.localdomain> Content-Type: text/plain Date: Sat, 10 Feb 2007 02:03:03 +1100 Message-Id: <1171033383.2718.163.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1139 Lines: 34 Signed-off-by: Rusty Russell =================================================================== --- a/arch/i386/kernel/cpu/mcheck/mce.h +++ b/arch/i386/kernel/cpu/mcheck/mce.h @@ -1,4 +1,5 @@ #include +#include void amd_mcheck_init(struct cpuinfo_x86 *c); void intel_p4_mcheck_init(struct cpuinfo_x86 *c); @@ -9,6 +10,5 @@ void winchip_mcheck_init(struct cpuinfo_ /* Call the installed machine check handler for this CPU setup. */ extern fastcall void (*machine_check_vector)(struct pt_regs *, long error_code); -extern int mce_disabled; extern int nr_mce_banks; =================================================================== --- a/include/asm-i386/mce.h +++ b/include/asm-i386/mce.h @@ -3,3 +3,5 @@ extern void mcheck_init(struct cpuinfo_x #else #define mcheck_init(c) do {} while(0) #endif + +extern int mce_disabled; - 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/